2020-07-18 18:57:24 +02:00
|
|
|
<?php
|
|
|
|
|
2021-05-09 20:15:43 +00:00
|
|
|
declare (strict_types=1);
|
2022-03-30 06:32:05 +00:00
|
|
|
namespace RectorPrefix20220330;
|
2020-07-18 18:57:24 +02:00
|
|
|
|
2021-01-28 19:26:56 +01:00
|
|
|
use Rector\Php55\Rector\Class_\ClassConstantToSelfClassRector;
|
2022-03-28 09:17:08 +00:00
|
|
|
use Rector\Php55\Rector\FuncCall\GetCalledClassToSelfClassRector;
|
|
|
|
use Rector\Php55\Rector\FuncCall\GetCalledClassToStaticClassRector;
|
2021-09-21 11:16:07 +00:00
|
|
|
use Rector\Php55\Rector\FuncCall\PregReplaceEModifierRector;
|
2020-07-18 18:57:24 +02:00
|
|
|
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
|
2021-06-02 10:21:10 +00:00
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
|
2020-07-18 18:57:24 +02:00
|
|
|
$services = $containerConfigurator->services();
|
2021-05-10 22:23:08 +00:00
|
|
|
$services->set(\Rector\Php55\Rector\String_\StringClassNameToClassConstantRector::class);
|
|
|
|
$services->set(\Rector\Php55\Rector\Class_\ClassConstantToSelfClassRector::class);
|
2021-09-21 11:16:07 +00:00
|
|
|
$services->set(\Rector\Php55\Rector\FuncCall\PregReplaceEModifierRector::class);
|
2022-03-28 09:17:08 +00:00
|
|
|
$services->set(\Rector\Php55\Rector\FuncCall\GetCalledClassToSelfClassRector::class);
|
|
|
|
$services->set(\Rector\Php55\Rector\FuncCall\GetCalledClassToStaticClassRector::class);
|
2020-07-18 18:57:24 +02:00
|
|
|
};
|