Make WordPress Core


Ignore:
Timestamp:
11/29/2022 12:40:08 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Add visibility to properties in tests/phpunit/tests/.

Adds a private visibility to some test class properties where it was not explicitly specified. This continues the previous efforts to make sure visibility is declared on all properties.

Note: This will be enforced by WPCS 3.0.0.

Follow-up to [49184], [51919], [52009], [52010], [54889].

Props jrf.
See #56791.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/query/fieldsClause.php

    r54889 r54890  
    1212     * @var int[]
    1313     */
    14     static $post_ids = array();
     14    private static $post_ids = array();
    1515
    1616    /**
     
    1919     * @var int[]
    2020     */
    21     static $page_ids = array();
     21    private static $page_ids = array();
    2222
    2323    public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) {
Note: See TracChangeset for help on using the changeset viewer.