|
15 | 15 | ->setRules([ |
16 | 16 | '@PSR12' => true, |
17 | 17 | '@PSR12:risky' => true, |
18 | | - '@PHP82Migration' => true, |
19 | | - '@PHP80Migration:risky' => true, |
| 18 | + '@PHP8x2Migration' => true, |
| 19 | + '@PHP8x2Migration:risky' => true, |
20 | 20 | // symfony |
| 21 | + 'array_indentation' => true, |
21 | 22 | 'class_attributes_separation' => true, |
22 | 23 | 'whitespace_after_comma_in_array' => true, |
23 | 24 | 'no_empty_statement' => true, |
24 | 25 | 'no_extra_blank_lines' => true, |
25 | 26 | 'type_declaration_spaces' => true, |
26 | | - 'trailing_comma_in_multiline' => ['after_heredoc' => true, 'elements' => ['arrays']], |
| 27 | + 'trailing_comma_in_multiline' => ['after_heredoc' => true, 'elements' => ['array_destructuring', 'arrays', 'match', 'arguments', 'parameters']], |
27 | 28 | 'no_blank_lines_after_phpdoc' => true, |
28 | 29 | 'object_operator_without_whitespace' => true, |
29 | 30 | 'binary_operator_spaces' => true, |
|
37 | 38 | 'concat_space' => ['spacing' => 'one'], |
38 | 39 | 'linebreak_after_opening_tag' => true, |
39 | 40 | 'fully_qualified_strict_types' => true, |
| 41 | + 'global_namespace_import' => ['import_classes' => true], |
40 | 42 | // symfony:risky |
41 | 43 | 'no_alias_functions' => true, |
42 | 44 | 'self_accessor' => true, |
|
48 | 50 | PhpCsFixer\Finder::create() |
49 | 51 | ->in(__DIR__) |
50 | 52 | ->append([__FILE__]) |
51 | | - ->exclude(['tools', 'vendor', 'build']) |
| 53 | + ->exclude(['tools', 'vendor', 'build']), |
52 | 54 | ) |
53 | 55 | ; |
0 commit comments