mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 17:00:51 +00:00
764b0a2692
cb5b01223d
[automated] Re-Generate Nodes/Rectors Documentation (#3259)
15 lines
482 B
PHP
15 lines
482 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202301;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Core\ValueObject\PhpVersion;
|
|
use Rector\Set\ValueObject\LevelSetList;
|
|
use Rector\Set\ValueObject\SetList;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->sets([SetList::PHP_54, LevelSetList::UP_TO_PHP_53]);
|
|
// parameter must be defined after import, to override imported param version
|
|
$rectorConfig->phpVersion(PhpVersion::PHP_54);
|
|
};
|