2022-05-12 15:51:17 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare (strict_types=1);
|
2022-06-10 05:55:49 +00:00
|
|
|
namespace RectorPrefix20220610;
|
2022-05-12 15:51:17 +00:00
|
|
|
|
2022-06-06 17:12:56 +00:00
|
|
|
use Rector\Config\RectorConfig;
|
|
|
|
use Rector\Core\ValueObject\PhpVersion;
|
|
|
|
use Rector\Set\ValueObject\LevelSetList;
|
|
|
|
use Rector\Set\ValueObject\SetList;
|
2022-06-07 08:22:29 +00:00
|
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
|
|
$rectorConfig->sets([SetList::PHP_82, LevelSetList::UP_TO_PHP_81]);
|
2022-05-12 15:51:17 +00:00
|
|
|
// parameter must be defined after import, to override imported param version
|
2022-06-07 08:22:29 +00:00
|
|
|
$rectorConfig->phpVersion(PhpVersion::PHP_82);
|
2022-05-12 15:51:17 +00:00
|
|
|
};
|