2021-10-09 16:11:30 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare (strict_types=1);
|
2022-02-05 10:39:52 +00:00
|
|
|
namespace RectorPrefix20220205;
|
2021-10-09 16:11:30 +00:00
|
|
|
|
|
|
|
use Rector\Core\Configuration\Option;
|
|
|
|
use Rector\Core\ValueObject\PhpVersion;
|
|
|
|
use Rector\Set\ValueObject\SetList;
|
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
|
|
|
|
$containerConfigurator->import(\Rector\Set\ValueObject\SetList::PHP_54);
|
|
|
|
$containerConfigurator->import(\Rector\Set\ValueObject\SetList::PHP_53);
|
|
|
|
// parameter must be defined after import, to override impored param version
|
|
|
|
$parameters = $containerConfigurator->parameters();
|
|
|
|
$parameters->set(\Rector\Core\Configuration\Option::PHP_VERSION_FEATURES, \Rector\Core\ValueObject\PhpVersion::PHP_54);
|
|
|
|
};
|