mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-15 15:42:22 +00:00
a9ffd906d7
368dbb048c
docs: fix instruction in CONTRIBUTING.md (#2470)
15 lines
484 B
PHP
15 lines
484 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220610;
|
|
|
|
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_72, LevelSetList::UP_TO_PHP_71]);
|
|
// parameter must be defined after import, to override imported param version
|
|
$rectorConfig->phpVersion(PhpVersion::PHP_72);
|
|
};
|