mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-26 20:53:31 +00:00
8d92c466fd
* use RectorConfig in configs * update variable name * remove extra spaces * apply on configs * apply on e2e * update markdown files * remove extra spaces
16 lines
394 B
PHP
16 lines
394 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\RuleDocGenerator\Category\RectorCategoryInferer;
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (ContainerConfigurator $rectorConfig): void {
|
|
$services = $rectorConfig->services();
|
|
|
|
$services->defaults()
|
|
->autowire();
|
|
|
|
$services->set(RectorCategoryInferer::class);
|
|
};
|