futtern/ecs.php

18 lines
465 B
PHP
Raw Normal View History

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