From c44b3ee28629af2214d8e2bf3cf9f743884a1e87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=A4fer?= Date: Sun, 19 Jul 2020 08:44:18 +0200 Subject: [PATCH] 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 // ... ``` --- .php_cs.dist | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.php_cs.dist b/.php_cs.dist index edafec3af..11770083d 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -25,19 +25,15 @@ return PhpCsFixer\Config::create() ->setRules([ '@Symfony' => true, '@Symfony:risky' => true, - 'array_syntax' => ['syntax' => 'short'], 'header_comment' => ['header' => $fileHeaderComment, 'separate' => 'both'], 'linebreak_after_opening_tag' => true, 'mb_str_functions' => true, 'no_php4_constructor' => true, - 'no_superfluous_phpdoc_tags' => true, 'no_unreachable_default_argument_value' => true, 'no_useless_else' => true, 'no_useless_return' => true, - 'ordered_imports' => true, 'php_unit_strict' => true, 'phpdoc_order' => true, - 'semicolon_after_instruction' => true, 'strict_comparison' => true, 'strict_param' => true, ])