futtern/rector.php

20 lines
502 B
PHP
Raw Normal View History

2024-02-05 15:16:43 +00:00
<?php declare(strict_types=1);
use Lubiana\CodeQuality\LubiSetList;
2024-06-09 14:43:34 +00:00
use Rector\CodingStyle\Rector\Closure\StaticClosureRector;
2024-02-05 15:16:43 +00:00
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
2024-06-09 14:43:34 +00:00
__DIR__ . '/bin',
2024-02-05 15:16:43 +00:00
__DIR__ . '/public',
__DIR__ . '/src',
2024-06-09 14:43:34 +00:00
__DIR__ . '/config',
__DIR__ . '/tests',
2024-02-05 15:16:43 +00:00
])
->withRootFiles()
2024-06-09 14:43:34 +00:00
->withSkip([
StaticClosureRector::class => [__DIR__ . '/tests'],
])
->withSets([LubiSetList::RECTOR]);