code-quality/rector.php

16 lines
334 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 Rector\Config\RectorConfig;
return static function (RectorConfig $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::RECTOR]);
2022-10-12 17:46:05 +00:00
};