futtern/rector.php
lubiana e2a33be4f9
All checks were successful
/ ls (pull_request) Successful in 25s
/ ls (push) Successful in 25s
reboot
2024-06-10 19:13:51 +02:00

19 lines
502 B
PHP

<?php declare(strict_types=1);
use Lubiana\CodeQuality\LubiSetList;
use Rector\CodingStyle\Rector\Closure\StaticClosureRector;
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/bin',
__DIR__ . '/public',
__DIR__ . '/src',
__DIR__ . '/config',
__DIR__ . '/tests',
])
->withRootFiles()
->withSkip([
StaticClosureRector::class => [__DIR__ . '/tests'],
])
->withSets([LubiSetList::RECTOR]);