diff --git a/.rector.php b/.rector.php index e41780c96c..5a36975c70 100644 --- a/.rector.php +++ b/.rector.php @@ -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, + ]) ;