|
27 | 27 | HEADER; |
28 | 28 |
|
29 | 29 | $rules = [ |
30 | | - '@PHP74Migration' => true, |
31 | | - '@PHP74Migration:risky' => true, |
| 30 | + '@PHP80Migration' => true, |
| 31 | + '@PHP80Migration:risky' => true, |
| 32 | + '@PHPUnit84Migration:risky' => true, |
32 | 33 | '@PSR12' => true, |
33 | 34 | '@PSR12:risky' => true, |
34 | 35 | '@Symfony' => true, |
|
42 | 43 | 'multiline_whitespace_before_semicolons' => ['strategy' => 'no_multi_line'], |
43 | 44 | 'no_useless_else' => true, |
44 | 45 | 'no_useless_return' => true, |
| 46 | + 'no_superfluous_elseif' => true, |
45 | 47 | 'no_superfluous_phpdoc_tags' => ['allow_mixed' => true, 'remove_inheritdoc' => true], |
46 | 48 | 'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true], |
47 | 49 | 'ordered_class_elements' => true, |
|
51 | 53 | ['phpstan-template', 'phpstan-template-covariant', 'phpstan-extends', 'phpstan-implements', 'phpstan-var', 'psalm-var', 'phpstan-param', 'psalm-param', 'phpstan-return', 'psalm-return'], |
52 | 54 | ['psalm-suppress', 'phpstan-ignore-next-line'], |
53 | 55 | ['Assert\\*'], |
54 | | - ['ODM\\*'], |
55 | | - ['ORM\\*'], |
56 | 56 | ]], |
57 | | - 'php_unit_strict' => true, |
58 | | - 'php_unit_test_case_static_method_calls' => true, |
59 | 57 | 'php_unit_data_provider_name' => true, |
60 | 58 | 'php_unit_data_provider_return_type' => true, |
| 59 | + 'php_unit_strict' => true, |
| 60 | + 'php_unit_test_case_static_method_calls' => true, |
61 | 61 | 'phpdoc_to_comment' => ['ignored_tags' => ['psalm-suppress', 'phpstan-var']], |
62 | | - 'single_line_throw' => false, |
63 | 62 | 'static_lambda' => true, |
| 63 | + 'single_line_throw' => false, |
64 | 64 | 'strict_comparison' => true, |
65 | 65 | 'strict_param' => true, |
66 | 66 | 'void_return' => false, |
|
0 commit comments