mirror of
https://github.com/symfony/symfony.git
synced 2026-03-24 00:32:15 +01:00
Configure Twig-CS-Fixer to lint all files and exclude if necessary
Following internal discussions with @nicolas-grekas about https://github.com/symfony/symfony/actions/runs/20663092372/job/59329680460?pr=62920. Related to https://github.com/symfony/ux/pull/3264 as well.
This commit is contained in:
@@ -13,9 +13,8 @@ $ruleset = new TwigCsFixer\Ruleset\Ruleset();
|
||||
$ruleset->addStandard(new TwigCsFixer\Standard\TwigCsFixer());
|
||||
|
||||
$finder = new TwigCsFixer\File\Finder();
|
||||
$finder->in('src/Symfony/Bridge/');
|
||||
$finder->in('src/Symfony/Bundle/');
|
||||
$finder->in('src/Symfony/Component/');
|
||||
$finder->in('src/');
|
||||
$finder->exclude('Symfony/Contracts/');
|
||||
$finder->exclude('Fixtures');
|
||||
|
||||
$config = new TwigCsFixer\Config\Config();
|
||||
|
||||
Reference in New Issue
Block a user