File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,28 @@ public static function create()
126126 'no_superfluous_elseif ' => true ,
127127 'no_useless_else ' => true ,
128128 'no_useless_return ' => true ,
129- 'ordered_class_elements ' => true ,
129+ 'ordered_class_elements ' => [
130+ 'use_trait ' ,
131+ 'constant_public ' ,
132+ 'constant_protected ' ,
133+ 'constant_private ' ,
134+ 'property_public_static ' ,
135+ 'property_protected_static ' ,
136+ 'property_private_static ' ,
137+ 'property_public ' ,
138+ 'property_protected ' ,
139+ 'property_private ' ,
140+ 'construct ' ,
141+ 'destruct ' ,
142+ 'magic ' ,
143+ 'phpunit ' ,
144+ 'method_public_static ' ,
145+ 'method_protected_static ' ,
146+ 'method_private_static ' ,
147+ 'method_public ' ,
148+ 'method_protected ' ,
149+ 'method_private ' ,
150+ ],
130151 'ordered_imports ' => [
131152 'importsOrder ' => [
132153 'class ' ,
You can’t perform that action at this time.
0 commit comments