@@ -45,6 +45,7 @@ protected function prepareRules() : void
45
45
'min_line_breaks ' => 1 ,
46
46
'max_line_breaks ' => 1 ,
47
47
],
48
+ 'braces_position ' => true ,
48
49
'cast_spaces ' => [
49
50
'space ' => 'single ' ,
50
51
],
@@ -63,14 +64,13 @@ protected function prepareRules() : void
63
64
'combine_consecutive_unsets ' => true ,
64
65
'combine_nested_dirname ' => false ,
65
66
'comment_to_phpdoc ' => false ,
66
- 'compact_nullable_typehint ' => true ,
67
+ 'compact_nullable_type_declaration ' => true ,
67
68
'concat_space ' => [
68
69
'spacing ' => 'one ' ,
69
70
],
70
71
'constant_case ' => true ,
71
72
'control_structure_braces ' => true ,
72
73
'control_structure_continuation_position ' => ['position ' => 'same_line ' ],
73
- 'curly_braces_position ' => true ,
74
74
'date_time_immutable ' => false ,
75
75
'declare_equal_normalize ' => [
76
76
'space ' => 'none ' ,
@@ -143,7 +143,7 @@ protected function prepareRules() : void
143
143
'scope ' => 'namespaced ' ,
144
144
'strict ' => true ,
145
145
],
146
- 'new_with_braces ' => true ,
146
+ 'new_with_parentheses ' => true ,
147
147
'no_alias_functions ' => true ,
148
148
'no_alternative_syntax ' => false ,
149
149
'no_binary_string ' => true ,
@@ -188,8 +188,8 @@ protected function prepareRules() : void
188
188
'no_trailing_comma_in_singleline ' => true ,
189
189
'no_trailing_whitespace ' => true ,
190
190
'no_trailing_whitespace_in_comment ' => true ,
191
+ 'no_unneeded_braces ' => true ,
191
192
'no_unneeded_control_parentheses ' => true ,
192
- 'no_unneeded_curly_braces ' => true ,
193
193
'no_unneeded_final_method ' => true ,
194
194
'no_unreachable_default_argument_value ' => false ,
195
195
'no_unset_cast ' => false ,
0 commit comments