From dc30924759bda289763673475fd5e4f2e0dd67c1 Mon Sep 17 00:00:00 2001 From: Art4 Date: Wed, 4 Mar 2026 21:23:50 +0000 Subject: [PATCH] update rector for PHP 7.0 --- .rector.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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, + ]) ;