rector/config/set/level/up-to-php70.php
Tomas Votruba e8d4384fe8 Updated Rector to commit 6c8b3dc9f8d10cefe8351b0f3f80c6954dd2397a
6c8b3dc9f8 [DeadCode][PHPUnit] handle crash on RemoveJustPropertyFetchForAssignRector+SimplifyForeachInstanceOfRector (#2453)
2022-06-08 05:54:40 +00:00

15 lines
484 B
PHP

<?php
declare (strict_types=1);
namespace RectorPrefix20220608;
use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
return static function (RectorConfig $rectorConfig) : void {
$rectorConfig->sets([SetList::PHP_70, LevelSetList::UP_TO_PHP_56]);
// parameter must be defined after import, to override imported param version
$rectorConfig->phpVersion(PhpVersion::PHP_70);
};