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);
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')
)
;