diff --git a/src/Configuration/Defaults/CommonRules.php b/src/Configuration/Defaults/CommonRules.php index c2f62fb..45381dd 100644 --- a/src/Configuration/Defaults/CommonRules.php +++ b/src/Configuration/Defaults/CommonRules.php @@ -162,6 +162,9 @@ class CommonRules extends Rules "constant_public", "constant_protected", "constant_private", + "property_public_static", + "property_protected_static", + "property_private_static", "property_public", "property_protected", "property_private", @@ -169,13 +172,10 @@ class CommonRules extends Rules "destruct", "magic", "phpunit", - "property_public_static", "method_public_static", "method_public", - "property_protected_static", "method_protected_static", "method_protected", - "property_private_static", "method_private_static", "method_private", ], diff --git a/tests/fixtures/orderedClassElements/actual.php b/tests/fixtures/orderedClassElements/actual.php index b2a7dbe..d3e4f0e 100644 --- a/tests/fixtures/orderedClassElements/actual.php +++ b/tests/fixtures/orderedClassElements/actual.php @@ -1,15 +1,21 @@