You've already forked Atomcms-edit
26 lines
600 B
PHP
Executable File
26 lines
600 B
PHP
Executable File
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Set\ValueObject\LevelSetList;
|
|
use Rector\Set\ValueObject\SetList;
|
|
use Rector\ValueObject\PhpVersion;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([
|
|
__DIR__ . '/app',
|
|
__DIR__ . '/bootstrap',
|
|
__DIR__ . '/config',
|
|
__DIR__ . '/routes',
|
|
])
|
|
->withPhpVersion(PhpVersion::PHP_85)
|
|
->withSets([
|
|
LevelSetList::UP_TO_PHP_85,
|
|
SetList::CODE_QUALITY,
|
|
SetList::DEAD_CODE,
|
|
])
|
|
->withSkip([
|
|
__DIR__ . '/app/Providers/FortifyServiceProvider.php',
|
|
]);
|