lubiana-base/rector.php

13 lines
378 B
PHP
Raw Normal View History

2024-06-01 19:40:01 +00:00
<?php declare(strict_types=1);
use Lubiana\CodeQuality\LubiSetList;
use Rector\CodingStyle\Rector\Closure\StaticClosureRector;
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths(require __DIR__ . '/code-quality-paths.php')
->withSkip([
StaticClosureRector::class => [__DIR__ . '/tests'],
])
->withSets([LubiSetList::RECTOR]);