futtern/rector.php

20 lines
502 B
PHP
Raw Normal View History

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