|
10 | 10 | ->setRules([
|
11 | 11 | '@PhpCsFixer' => true,
|
12 | 12 | '@PhpCsFixer:risky' => true,
|
13 |
| - '@PHP80Migration:risky' => true, |
| 13 | + '@PHP80Migration:risky' => true, |
| 14 | + '@PHP84Migration' => true, |
14 | 15 | '@PSR12' => true,
|
15 | 16 | '@PSR12:risky' => true,
|
16 | 17 | '@Symfony' => true,
|
17 |
| - '@Symfony:risky' => true, |
18 |
| - 'braces' => ['allow_single_line_closure' => true, 'position_after_functions_and_oop_constructs' => 'same'], |
| 18 | + '@Symfony:risky' => true, |
| 19 | + 'braces_position' => ['classes_opening_brace' => 'same_line', 'functions_opening_brace' => 'same_line'], |
19 | 20 | 'concat_space' => ['spacing' => 'one'],
|
| 21 | + 'control_structure_continuation_position' => ['position' => 'same_line'], |
20 | 22 | 'declare_strict_types' => false,
|
| 23 | + 'final_internal_class' => false, |
21 | 24 | 'mb_str_functions' => true,
|
| 25 | + 'nullable_type_declaration_for_default_null_value' => true, |
22 | 26 | 'operator_linebreak' => true,
|
| 27 | + 'phpdoc_to_comment' => ['allow_before_return_statement' => true, 'ignored_tags' => ['var', 'phpstan-ignore', 'phpstan-ignore-next-line', 'psalm-suppress']], |
| 28 | + 'phpdoc_align' => false, |
| 29 | + 'single_line_empty_body' => true, |
| 30 | + 'static_lambda' => false, |
| 31 | + 'string_implicit_backslashes' => ['double_quoted' => 'escape', 'single_quoted' => 'ignore', 'heredoc' => 'escape'], |
23 | 32 | 'yoda_style' => ['equal' => false, 'identical' => false, 'less_and_greater' => false],
|
24 | 33 | ])
|
25 | 34 | ->setFinder(PhpCsFixer\Finder::create()
|
|
0 commit comments