mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 11:44:14 +01:00
9187ff0430
[Scoped] Update full_build.sh to reflect the current Github workflow for build scoped (#2413)
15 lines
572 B
PHP
15 lines
572 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220602;
|
|
|
|
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_72, \Rector\Set\ValueObject\LevelSetList::UP_TO_PHP_71]);
|
|
// parameter must be defined after import, to override imported param version
|
|
$rectorConfig->phpVersion(\Rector\Core\ValueObject\PhpVersion::PHP_72);
|
|
};
|