Tweak php cs fixer file

This commit is contained in:
brabli
2025-11-27 14:59:45 +00:00
parent 2bf5a83426
commit ca29d72615

7
.php-cs-fixer.dist.php Normal file → Executable file
View File

@@ -2,8 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
return (new PhpCsFixer\Config()) return new PhpCsFixer\Config()->setRules([
->setRules([
'@Symfony' => true, '@Symfony' => true,
'binary_operator_spaces' => [ 'binary_operator_spaces' => [
@@ -24,9 +23,11 @@ return (new PhpCsFixer\Config())
'style' => 'post', 'style' => 'post',
], ],
]) ])
->setFinder( ->setFinder(
(new PhpCsFixer\Finder()) new PhpCsFixer\Finder()
->in(__DIR__) ->in(__DIR__)
->exclude('var') ->exclude('var')
) )
; ;