commit
a32bf4ce7d
33 changed files with 7427 additions and 0 deletions
19
rector.php
Normal file
19
rector.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?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]);
|
Loading…
Add table
Add a link
Reference in a new issue