mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-20 15:08:11 +01:00
7ac228c638
* [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>
17 lines
465 B
PHP
17 lines
465 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();
|
|
|
|
$services->load('Rector\Renaming\\', __DIR__ . '/../src')
|
|
->exclude([__DIR__ . '/../src/Rector', __DIR__ . '/../src/ValueObject']);
|
|
};
|