mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-23 11:14:38 +01:00
* [CI] Add type-declaration set * [rector] [CI] Add type-declaration set * [cs] [CI] Add type-declaration set * skip nullable void * add anonymous parent/interface support * refactor MultiExceptionCatchRector to use Catch_ over integers * type fixes * fix unoin array type override * remove unused test cases * drop overcomplicated InlineValidationRulesToArrayDefinitionRector * skip assign on var * [rector] skip assign on var * [cs] skip assign on var * [rector] [cs] skip assign on var * skip assign on var * fixes * [rector] fixes * [cs] fixes Co-authored-by: rector-bot <tomas@getrector.org>
18 lines
489 B
PHP
18 lines
489 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\Naming\\', __DIR__ . '/../src')
|
|
->exclude([__DIR__ . '/../src/Rector', __DIR__ . '/../src/ValueObject']);
|
|
};
|