mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 11:44:14 +01:00
15 lines
572 B
PHP
15 lines
572 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220514;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Core\ValueObject\PhpVersion;
|
|
use Rector\Set\ValueObject\LevelSetList;
|
|
use Rector\Set\ValueObject\SetList;
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->sets([\Rector\Set\ValueObject\SetList::PHP_71, \Rector\Set\ValueObject\LevelSetList::UP_TO_PHP_70]);
|
|
// parameter must be defined after import, to override imported param version
|
|
$rectorConfig->phpVersion(\Rector\Core\ValueObject\PhpVersion::PHP_71);
|
|
};
|