mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 03:35:01 +01:00
18 lines
755 B
PHP
18 lines
755 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Symfony\Rector\Attribute\ExtractAttributeRouteNameConstantsRector;
|
|
use Rector\Symfony\Rector\BinaryOp\ResponseStatusCodeRector;
|
|
use Rector\Symfony\Rector\Class_\EventListenerToEventSubscriberRector;
|
|
use Rector\Symfony\Rector\Class_\MakeCommandLazyRector;
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
$services = $containerConfigurator->services();
|
|
$services->set(ResponseStatusCodeRector::class);
|
|
$services->set(MakeCommandLazyRector::class);
|
|
$services->set(EventListenerToEventSubscriberRector::class);
|
|
$services->set(ExtractAttributeRouteNameConstantsRector::class);
|
|
};
|