update rector for PHP 7.0

This commit is contained in:
Art4 2026-03-04 21:23:50 +00:00
commit dc30924759

View file

@ -18,15 +18,15 @@ return \Rector\Config\RectorConfig::configure()
])
->withIndent("\t", 4)
->withPhpVersion(70400)
->withPhpLevel(15)
->withPhpLevel(36)
// ->withTypeCoverageLevel(0)
// ->withDeadCodeLevel(0)
// ->withCodeQualityLevel(0)
->withRules([
\Rector\Php71\Rector\List_\ListToArrayDestructRector::class,
])
->withSets([
\Rector\Set\ValueObject\LevelSetList::UP_TO_PHP_55,
\Rector\Set\ValueObject\LevelSetList::UP_TO_PHP_70,
\Rector\Set\ValueObject\DowngradeLevelSetList::DOWN_TO_PHP_82,
])
->withSkip([
\Rector\Php56\Rector\FuncCall\PowToExpRector::class,
])
;