2021-11-07 18:22:19 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare (strict_types=1);
|
2022-04-09 07:29:28 +00:00
|
|
|
namespace RectorPrefix20220409;
|
2021-11-07 18:22:19 +00:00
|
|
|
|
|
|
|
use Rector\Core\Configuration\Option;
|
|
|
|
use Rector\Core\ValueObject\PhpVersion;
|
2021-11-13 14:51:42 +00:00
|
|
|
use Rector\DowngradePhp56\Rector\CallLike\DowngradeArgumentUnpackingRector;
|
2021-12-27 19:30:54 +00:00
|
|
|
use Rector\DowngradePhp56\Rector\FuncCall\DowngradeArrayFilterUseConstantRector;
|
2021-11-08 11:12:20 +00:00
|
|
|
use Rector\DowngradePhp56\Rector\Pow\DowngradeExponentialAssignmentOperatorRector;
|
2021-11-07 18:22:19 +00:00
|
|
|
use Rector\DowngradePhp56\Rector\Pow\DowngradeExponentialOperatorRector;
|
2021-11-23 13:20:36 +00:00
|
|
|
use Rector\DowngradePhp56\Rector\Use_\DowngradeUseFunctionRector;
|
2021-11-07 18:22:19 +00:00
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
|
|
|
|
$parameters = $containerConfigurator->parameters();
|
|
|
|
$parameters->set(\Rector\Core\Configuration\Option::PHP_VERSION_FEATURES, \Rector\Core\ValueObject\PhpVersion::PHP_55);
|
|
|
|
$services = $containerConfigurator->services();
|
2021-11-13 14:51:42 +00:00
|
|
|
$services->set(\Rector\DowngradePhp56\Rector\CallLike\DowngradeArgumentUnpackingRector::class);
|
2021-11-23 13:20:36 +00:00
|
|
|
$services->set(\Rector\DowngradePhp56\Rector\Use_\DowngradeUseFunctionRector::class);
|
2021-11-08 11:12:20 +00:00
|
|
|
$services->set(\Rector\DowngradePhp56\Rector\Pow\DowngradeExponentialAssignmentOperatorRector::class);
|
2021-11-07 18:22:19 +00:00
|
|
|
$services->set(\Rector\DowngradePhp56\Rector\Pow\DowngradeExponentialOperatorRector::class);
|
2021-12-27 19:30:54 +00:00
|
|
|
$services->set(\Rector\DowngradePhp56\Rector\FuncCall\DowngradeArrayFilterUseConstantRector::class);
|
2021-11-07 18:22:19 +00:00
|
|
|
};
|