mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-12 11:30:31 +01:00
19 lines
622 B
PHP
19 lines
622 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Symfony\Rector\BinaryOp\ResponseStatusCodeRector;
|
|
use Rector\Symfony\Rector\Class_\MakeCommandLazyRector;
|
|
use Rector\SymfonyCodeQuality\Rector\Class_\EventListenerToEventSubscriberRector;
|
|
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);
|
|
};
|