|
19 | 19 | ->setHideProgress(true)
|
20 | 20 | ->setUsingCache(false)
|
21 | 21 | ->setRules([
|
22 |
| - '@PSR2' => true, |
23 |
| - '@PSR12' => true, |
24 |
| - '@PHP74Migration:risky' => true, |
25 |
| - '@Symfony' => true, |
26 |
| - 'array_syntax' => ['syntax' => 'short'], |
27 |
| - 'binary_operator_spaces' => [ |
28 |
| - 'operators' => [ |
29 |
| - '=' => 'align', |
30 |
| - '=>' => 'align', |
31 |
| - ], |
32 |
| - ], |
33 |
| - 'blank_line_after_opening_tag' => true, |
34 |
| - 'line_ending' => true, |
35 |
| - 'class_attributes_separation' => false, |
36 |
| - 'blank_line_before_statement' => ['statements' => ['break', 'continue', 'declare', 'throw', 'try']], |
37 |
| - 'concat_space' => ['spacing' => 'one'], |
38 |
| - 'declare_strict_types' => true, |
39 |
| - 'increment_style' => ['style' => 'post'], |
40 |
| - 'no_superfluous_phpdoc_tags' => false, |
41 |
| - 'no_useless_else' => true, |
42 |
| - 'no_useless_return' => true, |
43 |
| - 'ordered_class_elements' => true, |
44 |
| - 'ordered_imports' => ['imports_order' => ['class', 'function', 'const']], |
45 |
| - 'strict_comparison' => true, |
46 |
| - 'yoda_style' => ['equal' => false, 'identical' => false, 'less_and_greater' => false], |
47 |
| - 'nullable_type_declaration_for_default_null_value' => false, |
48 |
| - ]) |
| 22 | + '@PSR2' => true, |
| 23 | + '@PSR12' => true, |
| 24 | + '@PHP74Migration:risky' => true, |
| 25 | + '@Symfony' => true, |
| 26 | + 'array_syntax' => ['syntax' => 'short'], |
| 27 | + 'binary_operator_spaces' => [ |
| 28 | + 'operators' => [ |
| 29 | + '=' => 'align', |
| 30 | + '=>' => 'align', |
| 31 | + ], |
| 32 | + ], |
| 33 | + 'blank_line_after_opening_tag' => true, |
| 34 | + 'line_ending' => true, |
| 35 | + 'class_attributes_separation' => false, |
| 36 | + 'blank_line_before_statement' => ['statements' => ['break', 'continue', 'declare', 'throw', 'try']], |
| 37 | + 'concat_space' => ['spacing' => 'one'], |
| 38 | + 'declare_strict_types' => true, |
| 39 | + 'increment_style' => ['style' => 'post'], |
| 40 | + 'no_superfluous_phpdoc_tags' => false, |
| 41 | + 'no_useless_else' => true, |
| 42 | + 'no_useless_return' => true, |
| 43 | + 'ordered_class_elements' => true, |
| 44 | + 'ordered_imports' => ['imports_order' => ['class', 'function', 'const']], |
| 45 | + 'strict_comparison' => true, |
| 46 | + 'yoda_style' => ['equal' => false, 'identical' => false, 'less_and_greater' => false], |
| 47 | + 'nullable_type_declaration_for_default_null_value' => false, |
| 48 | + ]) |
49 | 49 | ->setFinder($finder);
|
0 commit comments