2021-10-09 16:11:30 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare (strict_types=1);
|
2022-06-06 06:00:07 +00:00
|
|
|
namespace RectorPrefix20220606;
|
2021-10-09 16:11:30 +00:00
|
|
|
|
2022-06-06 16:43:29 +00:00
|
|
|
use RectorPrefix20220606\Rector\Config\RectorConfig;
|
|
|
|
use RectorPrefix20220606\Rector\Core\ValueObject\PhpVersion;
|
|
|
|
use RectorPrefix20220606\Rector\Set\ValueObject\LevelSetList;
|
|
|
|
use RectorPrefix20220606\Rector\Set\ValueObject\SetList;
|
|
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
|
|
$rectorConfig->sets([SetList::PHP_70, LevelSetList::UP_TO_PHP_56]);
|
2022-04-20 18:29:39 +00:00
|
|
|
// parameter must be defined after import, to override imported param version
|
2022-06-06 16:43:29 +00:00
|
|
|
$rectorConfig->phpVersion(PhpVersion::PHP_70);
|
2021-10-09 16:11:30 +00:00
|
|
|
};
|