code-quality/rector.php

16 lines
326 B
PHP
Raw Normal View History

2022-10-12 17:46:05 +00:00
<?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]);
};