code-quality/ecs.php

16 lines
346 B
PHP
Raw Normal View History

2022-10-12 17:46:05 +00:00
<?php declare(strict_types=1);
2022-11-04 10:18:22 +00:00
use Lubiana\CodeQuality\LubiSetList;
2022-10-12 17:46:05 +00:00
use Symplify\EasyCodingStandard\Config\ECSConfig;
return static function (ECSConfig $c): void {
$c->paths([
__DIR__ . '/src',
__DIR__ . '/config',
__DIR__ . '/rector.php',
__DIR__ . '/ecs.php',
]);
2022-11-04 10:18:22 +00:00
$c->sets([LubiSetList::ECS]);
2022-10-12 17:46:05 +00:00
};