|
18 | 18 | 'binary_operator_spaces' => true, |
19 | 19 | 'blank_line_after_namespace' => true, |
20 | 20 | 'blank_line_after_opening_tag' => true, |
| 21 | + 'blank_lines_before_namespace' => true, |
21 | 22 | 'blank_line_before_statement' => [ |
22 | 23 | 'statements' => [ |
23 | 24 | 'break', 'case', 'continue', 'declare', 'default', 'do', 'for', |
24 | 25 | 'if', 'foreach', 'return', 'switch', 'try', 'while', |
25 | 26 | ], |
26 | 27 | ], |
27 | | - 'braces' => [ |
28 | | - 'allow_single_line_closure' => false, |
29 | | - 'position_after_control_structures' => 'same', |
30 | | - 'position_after_functions_and_oop_constructs' => 'next', |
31 | | - ], |
32 | 28 | 'cast_spaces' => ['space' => 'single'], |
33 | 29 | 'class_attributes_separation' => true, |
34 | 30 | 'combine_consecutive_issets' => true, |
35 | 31 | 'combine_consecutive_unsets' => true, |
36 | 32 | 'compact_nullable_typehint' => true, |
37 | 33 | 'concat_space' => ['spacing' => 'one'], |
38 | 34 | 'fully_qualified_strict_types' => true, |
39 | | - 'function_typehint_space' => true, |
40 | 35 | 'increment_style' => ['style' => 'pre'], |
41 | 36 | 'linebreak_after_opening_tag' => true, |
42 | 37 | 'list_syntax' => ['syntax' => 'short'], |
|
65 | 60 | 'no_spaces_around_offset' => true, |
66 | 61 | 'no_superfluous_phpdoc_tags' => false, |
67 | 62 | 'no_superfluous_elseif' => true, |
68 | | - 'no_trailing_comma_in_list_call' => true, |
69 | | - 'no_trailing_comma_in_singleline_array' => true, |
| 63 | + 'no_trailing_comma_in_singleline' => true, |
70 | 64 | 'no_unneeded_control_parentheses' => true, |
71 | 65 | 'no_unneeded_curly_braces' => true, |
72 | 66 | 'no_unset_cast' => true, |
|
114 | 108 | 'semicolon_after_instruction' => true, |
115 | 109 | 'short_scalar_cast' => true, |
116 | 110 | 'simplified_null_return' => true, |
117 | | - 'single_blank_line_before_namespace' => true, |
118 | 111 | 'single_quote' => true, |
119 | 112 | 'single_line_comment_style' => true, |
120 | 113 | 'ternary_operator_spaces' => true, |
121 | 114 | 'ternary_to_null_coalescing' => true, |
122 | 115 | 'trim_array_spaces' => true, |
| 116 | + 'type_declaration_spaces' => true, |
123 | 117 | 'unary_operator_spaces' => true, |
124 | 118 | 'whitespace_after_comma_in_array' => true, |
125 | 119 | ])->setFinder($finder); |
0 commit comments