|
11 | 11 | 'blank_line_before_statement' => [ |
12 | 12 | 'statements' => ['break', 'continue', 'declare', 'return', 'throw', 'try'], |
13 | 13 | ], |
| 14 | + 'cast_spaces' => ['space' => 'single'], |
14 | 15 | 'class_attributes_separation' => [ |
15 | | - 'elements' => ['const' => 'one','method' => 'one','property' => 'one'], |
| 16 | + 'elements' => ['method' => 'one'], |
16 | 17 | ], |
17 | 18 | 'concat_space' => ['spacing' => 'one'], |
| 19 | + 'function_declaration' => false, |
18 | 20 | 'method_argument_space' => [ |
19 | 21 | 'on_multiline' => 'ensure_fully_multiline', |
20 | 22 | 'keep_multiple_spaces_after_comma' => true, |
21 | 23 | ], |
22 | 24 | 'method_chaining_indentation' => true, |
| 25 | + 'no_empty_statement' => true, |
23 | 26 | 'no_unused_imports' => true, |
24 | 27 | 'not_operator_with_successor_space' => false, |
25 | 28 | 'ordered_imports' => ['sort_algorithm' => 'alpha'], |
|
29 | 32 | 'return_type_declaration' => true, |
30 | 33 | 'single_quote' => true, |
31 | 34 | 'single_trait_insert_per_statement' => true, |
32 | | - 'trailing_comma_in_multiline' => true, |
| 35 | + 'trailing_comma_in_multiline' => ['elements' => ['arrays', 'arguments', 'parameters']], |
33 | 36 | 'unary_operator_spaces' => true, |
34 | 37 | ]; |
35 | 38 |
|
|
0 commit comments