Skip to content

Commit b2a574f

Browse files
SonataCIgithub-actions[bot]
authored andcommitted
DevKit updates
1 parent 4d17fb9 commit b2a574f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.php-cs-fixer.dist.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
HEADER;
2828

2929
$rules = [
30-
'@PHP74Migration' => true,
31-
'@PHP74Migration:risky' => true,
30+
'@PHP80Migration' => true,
31+
'@PHP80Migration:risky' => true,
32+
'@PHPUnit84Migration:risky' => true,
3233
'@PSR12' => true,
3334
'@PSR12:risky' => true,
3435
'@Symfony' => true,
@@ -42,6 +43,7 @@
4243
'multiline_whitespace_before_semicolons' => ['strategy' => 'no_multi_line'],
4344
'no_useless_else' => true,
4445
'no_useless_return' => true,
46+
'no_superfluous_elseif' => true,
4547
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true, 'remove_inheritdoc' => true],
4648
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
4749
'ordered_class_elements' => true,
@@ -51,16 +53,14 @@
5153
['phpstan-template', 'phpstan-template-covariant', 'phpstan-extends', 'phpstan-implements', 'phpstan-var', 'psalm-var', 'phpstan-param', 'psalm-param', 'phpstan-return', 'psalm-return'],
5254
['psalm-suppress', 'phpstan-ignore-next-line'],
5355
['Assert\\*'],
54-
['ODM\\*'],
55-
['ORM\\*'],
5656
]],
57-
'php_unit_strict' => true,
58-
'php_unit_test_case_static_method_calls' => true,
5957
'php_unit_data_provider_name' => true,
6058
'php_unit_data_provider_return_type' => true,
59+
'php_unit_strict' => true,
60+
'php_unit_test_case_static_method_calls' => true,
6161
'phpdoc_to_comment' => ['ignored_tags' => ['psalm-suppress', 'phpstan-var']],
62-
'single_line_throw' => false,
6362
'static_lambda' => true,
63+
'single_line_throw' => false,
6464
'strict_comparison' => true,
6565
'strict_param' => true,
6666
'void_return' => false,

0 commit comments

Comments
 (0)