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