code-quality/rector.php
2022-10-12 19:51:16 +02:00

15 lines
326 B
PHP

<?php declare(strict_types=1);
use Lubiana\CodeQuality\SetList;
use Rector\Config\RectorConfig;
return static function (RectorConfig $c): void {
$c->paths([
__DIR__ . '/src',
__DIR__ . '/config',
__DIR__ . '/rector.php',
__DIR__ . '/ecs.php',
]);
$c->sets([SetList::RECTOR]);
};