|
72 | 72 | 'yield_from', |
73 | 73 | ], |
74 | 74 | ], |
| 75 | + 'braces_position' => [ |
| 76 | + 'anonymous_functions_opening_brace' => 'next_line_unless_newline_at_signature_end', |
| 77 | + 'anonymous_classes_opening_brace' => 'next_line_unless_newline_at_signature_end', |
| 78 | + ], |
75 | 79 | 'cast_spaces' => true, |
76 | 80 | 'class_attributes_separation' => [ |
77 | 81 | 'elements' => [ |
|
85 | 89 | 'combine_consecutive_issets' => true, |
86 | 90 | 'combine_consecutive_unsets' => true, |
87 | 91 | 'combine_nested_dirname' => true, |
88 | | - 'compact_nullable_typehint' => true, |
| 92 | + 'compact_nullable_type_declaration' => true, |
89 | 93 | 'concat_space' => ['spacing' => 'one'], |
90 | 94 | 'constant_case' => true, |
91 | 95 | 'control_structure_braces' => true, |
92 | 96 | 'control_structure_continuation_position' => true, |
93 | | - 'curly_braces_position' => [ |
94 | | - 'anonymous_functions_opening_brace' => 'next_line_unless_newline_at_signature_end', |
95 | | - 'anonymous_classes_opening_brace' => 'next_line_unless_newline_at_signature_end', |
96 | | - ], |
97 | 97 | 'declare_equal_normalize' => ['space' => 'none'], |
98 | 98 | 'declare_parentheses' => true, |
99 | 99 | 'declare_strict_types' => true, |
|
147 | 147 | '@internal', |
148 | 148 | ], |
149 | 149 | ], |
150 | | - 'native_function_type_declaration_casing' => true, |
151 | | - 'new_with_braces' => [ |
| 150 | + 'native_type_declaration_casing' => true, |
| 151 | + 'new_with_parentheses' => [ |
152 | 152 | 'named_class' => false, |
153 | 153 | 'anonymous_class' => false, |
154 | 154 | ], |
|
185 | 185 | 'no_trailing_whitespace' => true, |
186 | 186 | 'no_trailing_whitespace_in_comment' => true, |
187 | 187 | 'no_trailing_whitespace_in_string' => true, |
| 188 | + 'no_unneeded_braces' => true, |
188 | 189 | 'no_unneeded_control_parentheses' => true, |
189 | | - 'no_unneeded_curly_braces' => true, |
190 | 190 | 'no_unneeded_final_method' => true, |
191 | 191 | 'no_unneeded_import_alias' => true, |
192 | 192 | 'no_unreachable_default_argument_value' => true, |
|
0 commit comments