rector/config/set/level/up-to-php54.php

14 lines
495 B
PHP
Raw Normal View History

<?php
declare (strict_types=1);
namespace RectorPrefix20220606;
2022-06-06 16:43:29 +00:00
use RectorPrefix20220606\Rector\Config\RectorConfig;
use RectorPrefix20220606\Rector\Core\ValueObject\PhpVersion;
use RectorPrefix20220606\Rector\Set\ValueObject\SetList;
return static function (RectorConfig $rectorConfig) : void {
$rectorConfig->sets([SetList::PHP_54, SetList::PHP_53]);
// parameter must be defined after import, to override imported param version
2022-06-06 16:43:29 +00:00
$rectorConfig->phpVersion(PhpVersion::PHP_54);
};