|
33 | 33 | 'blank_line_before_statement' => [ |
34 | 34 | 'statements' => [ |
35 | 35 | 'break', |
| 36 | + 'case', |
36 | 37 | 'continue', |
37 | 38 | 'declare', |
38 | 39 | 'default', |
|
44 | 45 | 'if', |
45 | 46 | 'include', |
46 | 47 | 'include_once', |
| 48 | + 'phpdoc', |
47 | 49 | 'require', |
48 | 50 | 'require_once', |
49 | 51 | 'return', |
|
52 | 54 | 'try', |
53 | 55 | 'while', |
54 | 56 | 'yield', |
| 57 | + 'yield_from', |
55 | 58 | ], |
56 | 59 | ], |
57 | | - 'braces' => [ |
58 | | - 'position_after_anonymous_constructs' => 'next', |
59 | | - ], |
60 | 60 | 'cast_spaces' => true, |
61 | 61 | 'class_attributes_separation' => [ |
62 | 62 | 'elements' => [ |
63 | | - 'const' => 'one', |
| 63 | + 'const' => 'none', |
64 | 64 | 'method' => 'one', |
65 | | - 'property' => 'one' |
| 65 | + 'property' => 'only_if_meta' |
66 | 66 | ] |
67 | 67 | ], |
68 | 68 | 'class_definition' => true, |
|
73 | 73 | 'compact_nullable_typehint' => true, |
74 | 74 | 'concat_space' => ['spacing' => 'one'], |
75 | 75 | 'constant_case' => true, |
| 76 | + 'control_structure_braces' => true, |
| 77 | + 'control_structure_continuation_position' => true, |
| 78 | + 'curly_braces_position' => [ |
| 79 | + 'anonymous_functions_opening_brace' => 'next_line_unless_newline_at_signature_end', |
| 80 | + 'anonymous_classes_opening_brace' => 'next_line_unless_newline_at_signature_end', |
| 81 | + ], |
76 | 82 | 'declare_equal_normalize' => ['space' => 'none'], |
| 83 | + 'declare_parentheses' => true, |
77 | 84 | 'declare_strict_types' => true, |
78 | 85 | 'dir_constant' => true, |
79 | 86 | 'echo_tag_syntax' => true, |
|
146 | 153 | 'no_leading_import_slash' => true, |
147 | 154 | 'no_leading_namespace_whitespace' => true, |
148 | 155 | 'no_mixed_echo_print' => ['use' => 'print'], |
| 156 | + 'no_multiple_statements_per_line' => true, |
149 | 157 | 'no_multiline_whitespace_around_double_arrow' => true, |
150 | 158 | 'no_null_property_initialization' => true, |
151 | 159 | 'no_php4_constructor' => true, |
|
271 | 279 | 'single_import_per_statement' => true, |
272 | 280 | 'single_line_after_imports' => true, |
273 | 281 | 'single_quote' => true, |
274 | | - 'single_space_after_construct' => true, |
| 282 | + 'single_space_around_construct' => true, |
275 | 283 | 'single_trait_insert_per_statement' => true, |
276 | 284 | 'space_after_semicolon' => true, |
277 | 285 | 'standardize_increment' => true, |
278 | 286 | 'standardize_not_equals' => true, |
| 287 | + 'statement_indentation' => true, |
279 | 288 | 'static_lambda' => true, |
280 | 289 | 'strict_param' => true, |
281 | 290 | 'string_line_ending' => true, |
|
291 | 300 | ] |
292 | 301 | ], |
293 | 302 | 'trim_array_spaces' => true, |
| 303 | + 'types_spaces' => [ |
| 304 | + 'space' => 'none', |
| 305 | + ], |
294 | 306 | 'unary_operator_spaces' => true, |
295 | 307 | 'visibility_required' => [ |
296 | 308 | 'elements' => [ |
|
0 commit comments