|
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 | 65 | 'property' => 'only_if_meta'
|
66 | 66 | ]
|
|
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,
|
|
147 | 154 | 'no_leading_import_slash' => true,
|
148 | 155 | 'no_leading_namespace_whitespace' => true,
|
149 | 156 | 'no_mixed_echo_print' => ['use' => 'print'],
|
| 157 | + 'no_multiple_statements_per_line' => true, |
150 | 158 | 'no_multiline_whitespace_around_double_arrow' => true,
|
151 | 159 | 'no_null_property_initialization' => true,
|
152 | 160 | 'no_php4_constructor' => true,
|
|
272 | 280 | 'single_import_per_statement' => true,
|
273 | 281 | 'single_line_after_imports' => true,
|
274 | 282 | 'single_quote' => true,
|
275 |
| - 'single_space_after_construct' => true, |
| 283 | + 'single_space_around_construct' => true, |
276 | 284 | 'single_trait_insert_per_statement' => true,
|
277 | 285 | 'space_after_semicolon' => true,
|
278 | 286 | 'standardize_increment' => true,
|
279 | 287 | 'standardize_not_equals' => true,
|
| 288 | + 'statement_indentation' => true, |
280 | 289 | 'static_lambda' => true,
|
281 | 290 | 'strict_param' => true,
|
282 | 291 | 'string_line_ending' => true,
|
|
0 commit comments