rector/config/set/level/up-to-php55.php
Tomas Votruba d035c86f90 Updated Rector to commit a7e66d67bd
a7e66d67bd remove excluded files
2022-05-30 00:02:22 +00:00

15 lines
572 B
PHP

<?php
declare (strict_types=1);
namespace RectorPrefix20220530;
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_55, \Rector\Set\ValueObject\LevelSetList::UP_TO_PHP_54]);
// parameter must be defined after import, to override imported param version
$rectorConfig->phpVersion(\Rector\Core\ValueObject\PhpVersion::PHP_55);
};