mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Code Modernization: Use explicit visibility for class property declarations.
Using `var` or only `static` to declare a class property is PHP 4 code. This updates the codebase to use explicit visibility modifiers introduced in PHP 5. Props jrf. Fixes #51557. See #22234. git-svn-id: https://develop.svn.wordpress.org/trunk@49184 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
* @group feed
|
||||
*/
|
||||
class Tests_Feeds_RSS2 extends WP_UnitTestCase {
|
||||
static $user_id;
|
||||
static $posts;
|
||||
static $category;
|
||||
static $post_date;
|
||||
public static $user_id;
|
||||
public static $posts;
|
||||
public static $category;
|
||||
public static $post_date;
|
||||
|
||||
/**
|
||||
* Setup a new user and attribute some posts.
|
||||
|
||||
Reference in New Issue
Block a user