2021-10-09 16:11:30 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare (strict_types=1);
|
2022-05-27 10:39:50 +00:00
|
|
|
namespace RectorPrefix20220527;
|
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-05-27 11:25:02 +00:00
|
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
|
|
$rectorConfig->sets([SetList::PHP_55, LevelSetList::UP_TO_PHP_54]);
|
2022-04-20 18:29:39 +00:00
|
|
|
// parameter must be defined after import, to override imported param version
|
2022-05-27 11:25:02 +00:00
|
|
|
$rectorConfig->phpVersion(PhpVersion::PHP_55);
|
2021-10-09 16:11:30 +00:00
|
|
|
};
|