2021-10-09 16:11:30 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare (strict_types=1);
|
2022-04-20 07:06:09 +00:00
|
|
|
namespace RectorPrefix20220420;
|
2021-10-09 16:11:30 +00:00
|
|
|
|
2022-04-12 11:52:08 +00:00
|
|
|
use Rector\Config\RectorConfig;
|
2021-10-09 16:11:30 +00:00
|
|
|
use Rector\Core\ValueObject\PhpVersion;
|
|
|
|
use Rector\Set\ValueObject\LevelSetList;
|
|
|
|
use Rector\Set\ValueObject\SetList;
|
2022-04-12 11:52:08 +00:00
|
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
|
|
|
$rectorConfig->import(\Rector\Set\ValueObject\SetList::PHP_72);
|
|
|
|
$rectorConfig->import(\Rector\Set\ValueObject\LevelSetList::UP_TO_PHP_71);
|
2022-04-12 14:41:09 +00:00
|
|
|
// parameter must be defined after import, to override impored param version
|
|
|
|
$rectorConfig->phpVersion(\Rector\Core\ValueObject\PhpVersion::PHP_72);
|
2021-10-09 16:11:30 +00:00
|
|
|
};
|