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.

git-svn-id: https://develop.svn.wordpress.org/trunk@54890 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2022-11-29 12:40:08 +00:00
parent 8f86cdb2e0
commit 6821cb07ef
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -11,14 +11,14 @@ class Tests_Query_FieldsClause extends WP_UnitTestCase {
*
* @var int[]
*/
static $post_ids = array();
private static $post_ids = array();
/**
* Page IDs.
*
* @var int[]
*/
static $page_ids = array();
private static $page_ids = array();
public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) {
// Register CPT for use with shared fixtures.