Skip to content

Commit e06b983

Browse files
committedDec 13, 2021
Update rules
1 parent f864bf8 commit e06b983

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎PhpFixerRuleResolver.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function getRules($flags, $onlyAvailableOnes, $minimumPhpVersion = '')
2828
'blank_line_before_statement' => true,
2929
'braces' => true,
3030
'cast_spaces' => true,
31-
'class_attributes_separation' => true,
31+
'class_attributes_separation' => ['elements'=>['const'=>'none','method'=>'one','property'=>'none','trait_import'=>'one']],
3232
'class_definition' => true,
3333
'combine_consecutive_issets' => true,
3434
'combine_consecutive_unsets' => true,
@@ -75,6 +75,7 @@ public function getRules($flags, $onlyAvailableOnes, $minimumPhpVersion = '')
7575
'no_leading_namespace_whitespace' => true,
7676
'no_mixed_echo_print' => true,
7777
'no_multiline_whitespace_around_double_arrow' => true,
78+
'no_null_property_initialization' => true,
7879
'no_php4_constructor' => true,
7980
'no_short_bool_cast' => true,
8081
'no_singleline_whitespace_before_semicolons' => true,

0 commit comments

Comments
 (0)
Please sign in to comment.