|
34 | 34 | ], |
35 | 35 | ], |
36 | 36 | 'blank_line_after_namespace' => true, |
37 | | - 'blank_lines_before_namespace' => [ |
38 | | - 'max_line_breaks' => 1, |
39 | | - 'min_line_breaks' => 0, |
40 | | - ], |
41 | 37 | 'blank_line_before_statement' => [ |
42 | 38 | 'statements' => [ |
43 | 39 | 'break', |
|
65 | 61 | 'yield_from', |
66 | 62 | ], |
67 | 63 | ], |
| 64 | + 'blank_lines_before_namespace' => [ |
| 65 | + 'max_line_breaks' => 1, |
| 66 | + 'min_line_breaks' => 0, |
| 67 | + ], |
| 68 | + 'braces_position' => [ |
| 69 | + 'anonymous_classes_opening_brace' => 'next_line_unless_newline_at_signature_end', |
| 70 | + 'anonymous_functions_opening_brace' => 'next_line_unless_newline_at_signature_end', |
| 71 | + ], |
68 | 72 | 'cast_spaces' => true, |
69 | 73 | 'class_attributes_separation' => [ |
70 | 74 | 'elements' => [ |
|
78 | 82 | 'combine_consecutive_issets' => true, |
79 | 83 | 'combine_consecutive_unsets' => true, |
80 | 84 | 'combine_nested_dirname' => true, |
81 | | - 'compact_nullable_typehint' => true, |
| 85 | + 'compact_nullable_type_declaration' => true, |
82 | 86 | 'concat_space' => ['spacing' => 'one'], |
83 | 87 | 'constant_case' => true, |
84 | 88 | 'control_structure_braces' => true, |
85 | 89 | 'control_structure_continuation_position' => true, |
86 | | - 'curly_braces_position' => [ |
87 | | - 'anonymous_functions_opening_brace' => 'next_line_unless_newline_at_signature_end', |
88 | | - 'anonymous_classes_opening_brace' => 'next_line_unless_newline_at_signature_end', |
89 | | - ], |
90 | 90 | 'declare_equal_normalize' => ['space' => 'none'], |
91 | 91 | 'declare_parentheses' => true, |
92 | 92 | 'declare_strict_types' => true, |
|
140 | 140 | '@internal', |
141 | 141 | ], |
142 | 142 | ], |
143 | | - 'native_function_type_declaration_casing' => true, |
144 | | - 'new_with_braces' => [ |
145 | | - 'named_class' => false, |
| 143 | + 'native_type_declaration_casing' => true, |
| 144 | + 'new_with_parentheses' => [ |
146 | 145 | 'anonymous_class' => false, |
| 146 | + 'named_class' => false, |
147 | 147 | ], |
148 | 148 | 'no_alias_functions' => true, |
149 | 149 | 'no_alias_language_construct_call' => true, |
|
178 | 178 | 'no_trailing_whitespace' => true, |
179 | 179 | 'no_trailing_whitespace_in_comment' => true, |
180 | 180 | 'no_trailing_whitespace_in_string' => true, |
| 181 | + 'no_unneeded_braces' => true, |
181 | 182 | 'no_unneeded_control_parentheses' => true, |
182 | | - 'no_unneeded_curly_braces' => true, |
183 | 183 | 'no_unneeded_final_method' => true, |
184 | 184 | 'no_unneeded_import_alias' => true, |
185 | 185 | 'no_unreachable_default_argument_value' => true, |
|
0 commit comments