|
28 | 28 | ]);
|
29 | 29 |
|
30 | 30 | return (new PhpCsFixer\Config())
|
| 31 | + ->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect()) |
31 | 32 | ->setRules([
|
32 | 33 | '@DoctrineAnnotation' => true,
|
33 |
| - '@PHP71Migration' => true, |
34 |
| - '@PHP71Migration:risky' => true, |
35 | 34 | '@PHP74Migration' => true,
|
36 | 35 | '@PHP74Migration:risky' => true,
|
37 |
| - '@PHPUnit84Migration:risky' => true, |
| 36 | + '@PHPUnit91Migration:risky' => true, |
38 | 37 | '@PSR2' => true,
|
39 | 38 | '@Symfony' => true,
|
40 | 39 | 'array_syntax' => ['syntax' => 'short'],
|
|
55 | 54 | 'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
|
56 | 55 | 'no_unset_on_property' => true,
|
57 | 56 | 'no_useless_else' => true,
|
58 |
| - 'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true], |
| 57 | + 'nullable_type_declaration_for_default_null_value' => true, |
59 | 58 | 'ordered_class_elements' => true,
|
60 | 59 | 'ordered_imports' => ['sort_algorithm' => 'alpha'],
|
61 | 60 | 'phpdoc_order' => ['order' => ['param', 'throws', 'return']],
|
|
0 commit comments