mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-12 03:25:27 +01:00
17 lines
412 B
PHP
17 lines
412 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
$services = $containerConfigurator->services();
|
|
|
|
$services->defaults()
|
|
->public()
|
|
->autowire()
|
|
->autoconfigure();
|
|
|
|
$services->load('Rector\PostRector\\', __DIR__ . '/../src');
|
|
};
|