futtern/ecs.php

18 lines
465 B
PHP
Raw Permalink Normal View History

2024-06-10 17:16:55 +00:00
<?php declare(strict_types=1);
use Lubiana\CodeQuality\LubiSetList;
use PhpCsFixer\Fixer\ClassNotation\FinalClassFixer;
use Symplify\EasyCodingStandard\Config\ECSConfig;
return ECSConfig::configure()
->withPaths([
__DIR__ . '/bin',
__DIR__ . '/public',
__DIR__ . '/src',
__DIR__ . '/config',
__DIR__ . '/tests',
])
->withRootFiles()
->withRules([FinalClassFixer::class])
->withSets([LubiSetList::ECS]);