Exclude config/{bundles,reference}.php from php-cs-fixer finder (#1518)

This commit is contained in:
Jonathan Cox
2026-03-02 18:54:22 +01:00
committed by GitHub
parent 2bf874b4e3
commit 3f11f2aab6
3 changed files with 31 additions and 0 deletions
@@ -0,0 +1,17 @@
<?php
$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
->exclude('var')
->notPath([
'config/bundles.php',
'config/reference.php',
])
;
return (new PhpCsFixer\Config())
->setRules([
'@Symfony' => true,
])
->setFinder($finder)
;