From 0b0e5b50d5e6566cfc69943faedb17a26ba7c6c5 Mon Sep 17 00:00:00 2001 From: Dariusz Ruminski Date: Sun, 3 Nov 2019 15:37:51 +0100 Subject: [PATCH] Simplify PHP CS Fixer configuration --- .php_cs.dist | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.php_cs.dist b/.php_cs.dist index 6206f7144a..b73611c430 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -10,17 +10,9 @@ return PhpCsFixer\Config::create() '@Symfony:risky' => true, '@PHPUnit75Migration:risky' => true, 'php_unit_dedicate_assert' => ['target' => '5.6'], - 'phpdoc_no_empty_return' => false, // triggers almost always false positive 'array_syntax' => ['syntax' => 'short'], 'fopen_flags' => false, - 'ordered_imports' => true, - 'phpdoc_trim_consecutive_blank_line_separation' => true, - 'no_superfluous_phpdoc_tags' => ['allow_mixed' => true], 'protected_to_private' => false, - // Part of @Symfony:risky in PHP-CS-Fixer 2.13.0. To be removed from the config file once upgrading - 'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'namespaced', 'strict' => true], - // Part of future @Symfony ruleset in PHP-CS-Fixer To be removed from the config file once upgrading - 'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'], ]) ->setRiskyAllowed(true) ->setFinder(