15
rector.php
Executable file
15
rector.php
Executable file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Laravel\Set\LaravelSetList;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
|
||||
return static function (RectorConfig $rectorConfig): void {
|
||||
$rectorConfig->paths([__DIR__ . '/common']);
|
||||
|
||||
$rectorConfig->skip([__DIR__ . '/vendor', __DIR__ . '/storage', __DIR__ . '/tests', __DIR__ . '/bootstrap',]);
|
||||
|
||||
$rectorConfig->sets([levelSetList::UP_TO_PHP_80, LaravelSetList::LARAVEL_90,]);
|
||||
};
|
||||
Reference in New Issue
Block a user