diff --git a/Config.php b/Config.php index a407a1f..a93360a 100644 --- a/Config.php +++ b/Config.php @@ -126,7 +126,28 @@ public static function create() 'no_superfluous_elseif' => true, 'no_useless_else' => true, 'no_useless_return' => true, - 'ordered_class_elements' => true, + 'ordered_class_elements' => [ + 'use_trait', + 'constant_public', + 'constant_protected', + 'constant_private', + 'property_public_static', + 'property_protected_static', + 'property_private_static', + 'property_public', + 'property_protected', + 'property_private', + 'construct', + 'destruct', + 'magic', + 'phpunit', + 'method_public_static', + 'method_protected_static', + 'method_private_static', + 'method_public', + 'method_protected', + 'method_private', + ], 'ordered_imports' => [ 'importsOrder' => [ 'class',