diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php old mode 100644 new mode 100755 index bb2d4ed..3f5415d --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -2,8 +2,7 @@ declare(strict_types=1); -return (new PhpCsFixer\Config()) - ->setRules([ +return new PhpCsFixer\Config()->setRules([ '@Symfony' => true, 'binary_operator_spaces' => [ @@ -24,9 +23,11 @@ return (new PhpCsFixer\Config()) 'style' => 'post', ], ]) + ->setFinder( - (new PhpCsFixer\Finder()) + new PhpCsFixer\Finder() ->in(__DIR__) ->exclude('var') ) ; +