Make WordPress Core

Changeset 56281


Ignore:
Timestamp:
07/22/2023 12:35:15 PM (14 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Always use parentheses for class instantiation.

This addresses a new stdClass() instance in _get_non_cached_ids() tests.

Follow-up to [55543].

Props jrf.
See #58831.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions/getNonCachedIds.php

    r55549 r56281  
    9898            'array'        => array( array( 1 ) ),
    9999            'empty array'  => array( array() ),
    100             'stdClass'     => array( new stdClass ),
     100            'stdClass'     => array( new stdClass() ),
    101101        );
    102102    }
Note: See TracChangeset for help on using the changeset viewer.