Skip to content

Commit c44b3ee

Browse files
Remove duplicated rules
Remove duplicated rules which are already included in @symfony rules. To verify that the `@Symfony` rules include the removed rules see https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/2.16/src/RuleSet.php or run: ```bash php php-cs-fixer.phar describe @symfony | grep -A 3 array_syntax php php-cs-fixer.phar describe @symfony | grep -A 3 no_superfluous_phpdoc_tags // ... ```
1 parent 1d809c2 commit c44b3ee

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.php_cs.dist

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,15 @@ return PhpCsFixer\Config::create()
2525
->setRules([
2626
'@Symfony' => true,
2727
'@Symfony:risky' => true,
28-
'array_syntax' => ['syntax' => 'short'],
2928
'header_comment' => ['header' => $fileHeaderComment, 'separate' => 'both'],
3029
'linebreak_after_opening_tag' => true,
3130
'mb_str_functions' => true,
3231
'no_php4_constructor' => true,
33-
'no_superfluous_phpdoc_tags' => true,
3432
'no_unreachable_default_argument_value' => true,
3533
'no_useless_else' => true,
3634
'no_useless_return' => true,
37-
'ordered_imports' => true,
3835
'php_unit_strict' => true,
3936
'phpdoc_order' => true,
40-
'semicolon_after_instruction' => true,
4137
'strict_comparison' => true,
4238
'strict_param' => true,
4339
])

0 commit comments

Comments
 (0)