mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-22 18:54:39 +01:00
15 lines
411 B
PHP
15 lines
411 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
use Rector\RuleDocGenerator\Category\RectorCategoryInferer;
|
||
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||
|
|
||
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
||
|
$services = $containerConfigurator->services();
|
||
|
$services->defaults()
|
||
|
->autowire();
|
||
|
|
||
|
$services->set(RectorCategoryInferer::class);
|
||
|
};
|