|
21 | 21 | 'return', |
22 | 22 | ], |
23 | 23 | ], |
24 | | - 'braces' => [ |
25 | | - 'allow_single_line_closure' => true, |
| 24 | + 'single_space_around_construct' => true, |
| 25 | + 'control_structure_braces' => true, |
| 26 | + 'control_structure_continuation_position' => true, |
| 27 | + 'no_multiple_statements_per_line' => true, |
| 28 | + 'declare_parentheses' => true, |
| 29 | + 'braces_position' => [ |
| 30 | + 'allow_single_line_empty_anonymous_classes' => true, |
| 31 | + 'allow_single_line_anonymous_functions' => true, |
26 | 32 | ], |
| 33 | + 'statement_indentation' => false, |
27 | 34 | 'cast_spaces' => false, |
28 | 35 | 'class_attributes_separation' => [ |
29 | 36 | 'elements' => [ |
|
49 | 56 | 'full_opening_tag' => true, |
50 | 57 | 'function_declaration' => true, |
51 | 58 | 'function_to_constant' => true, |
52 | | - 'function_typehint_space' => true, |
| 59 | + 'type_declaration_spaces' => true, |
53 | 60 | 'general_phpdoc_tag_rename' => true, |
54 | 61 | 'header_comment' => [ |
55 | 62 | 'comment_type' => 'PHPDoc', |
|
82 | 89 | ], |
83 | 90 | 'native_function_casing' => true, |
84 | 91 | 'native_function_invocation' => false, |
85 | | - 'native_function_type_declaration_casing' => true, |
86 | | - 'new_with_braces' => true, |
| 92 | + 'native_type_declaration_casing' => true, |
| 93 | + 'new_with_parentheses' => true, |
87 | 94 | 'no_alias_functions' => true, |
88 | 95 | 'no_blank_lines_after_class_opening' => true, |
89 | 96 | 'no_blank_lines_after_phpdoc' => true, |
|
111 | 118 | 'no_singleline_whitespace_before_semicolons' => true, |
112 | 119 | 'no_spaces_after_function_name' => true, |
113 | 120 | 'no_spaces_around_offset' => true, |
114 | | - 'no_spaces_inside_parenthesis' => true, |
115 | | - 'no_trailing_comma_in_list_call' => true, |
116 | | - 'no_trailing_comma_in_singleline_array' => true, |
| 121 | + 'spaces_inside_parentheses' => true, |
| 122 | + 'no_trailing_comma_in_singleline' => true, |
117 | 123 | 'no_trailing_whitespace' => true, |
118 | 124 | 'no_trailing_whitespace_in_comment' => true, |
119 | 125 | 'no_unneeded_control_parentheses' => true, |
120 | | - 'no_unneeded_curly_braces' => true, |
| 126 | + 'no_unneeded_braces' => true, |
121 | 127 | 'no_unneeded_final_method' => true, |
122 | 128 | 'no_unused_imports' => true, |
123 | 129 | 'no_whitespace_before_comma_in_array' => true, |
|
170 | 176 | 'short_scalar_cast' => true, |
171 | 177 | 'simplified_null_return' => false, |
172 | 178 | 'single_blank_line_at_eof' => true, |
173 | | - 'single_blank_line_before_namespace' => true, |
| 179 | + 'blank_lines_before_namespace' => true, |
174 | 180 | 'single_class_element_per_statement' => true, |
175 | 181 | 'single_import_per_statement' => true, |
176 | 182 | 'single_line_after_imports' => true, |
|
191 | 197 | 'trailing_comma_in_multiline' => true, |
192 | 198 | 'trim_array_spaces' => true, |
193 | 199 | 'unary_operator_spaces' => true, |
194 | | - 'visibility_required' => true, |
| 200 | + 'modifier_keywords' => true, |
195 | 201 | 'whitespace_after_comma_in_array' => true, |
196 | 202 | 'yoda_style' => false, |
197 | 203 | 'Ibexa/multiline_parameters' => true, |
198 | 204 | 'fully_qualified_strict_types' => [ |
199 | 205 | 'import_symbols' => true, |
200 | 206 | ], |
| 207 | + 'single_line_empty_body' => true, |
| 208 | + 'blank_line_between_import_groups' => true, |
201 | 209 | ]; |
0 commit comments