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>
20 lines
577 B
PHP
20 lines
577 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
$parameters = $containerConfigurator->parameters();
|
|
$parameters->set('project_directory', null);
|
|
|
|
$services = $containerConfigurator->services();
|
|
|
|
$services->defaults()
|
|
->public()
|
|
->autowire();
|
|
|
|
$services->load('Rector\NetteToSymfony\\', __DIR__ . '/../src')
|
|
->exclude([__DIR__ . '/../src/Rector', __DIR__ . '/../src/ValueObject']);
|
|
};
|