Files
archived-ux/.twig-cs-fixer.dist.php
2026-01-03 23:41:38 +01:00

31 lines
782 B
PHP

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
$ruleset = new TwigCsFixer\Ruleset\Ruleset();
$ruleset->addStandard(new TwigCsFixer\Standard\TwigCsFixer());
$finder = new TwigCsFixer\File\Finder();
$config = new TwigCsFixer\Config\Config();
$config->setCacheFile('.twig-cs-fixer.cache');
$config->setRuleset($ruleset);
$config->setFinder(
(new TwigCsFixer\File\Finder)
->in(__DIR__)
->notPath('#/Fixtures/#')
->notPath('#/assets/#')
->notPath('#/var/#')
// apps/
->notPath(['#config/#', '#public/#', 'importmap.php'])
);
return $config;