lubiana-base/ecs.php

12 lines
363 B
PHP
Raw Normal View History

2024-06-01 19:40:01 +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(require __DIR__ . '/code-quality-paths.php')
->withRootFiles()
->withRules([FinalClassFixer::class])
->withSets([LubiSetList::ECS]);