mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-23 19:24:48 +01:00
* phpstan: require iterable types * add link on relative path and line * fix missing class type * typed array in Rector code + add data provide support resolver * remove duplicated set * drop unused yaml ecs config * add out-of-the-box directory for 3rd party packages * static fixes * [rector] static fixes * [cs] static fixes * [rector] [cs] static fixes * generic types Co-authored-by: rector-bot <tomas@getrector.org>
17 lines
464 B
PHP
17 lines
464 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()
|
|
->autowire()
|
|
->public();
|
|
|
|
$services->load('Rector\CakePHP\\', __DIR__ . '/../src')
|
|
->exclude([__DIR__ . '/../src/Rector', __DIR__ . '/../src/ValueObject']);
|
|
};
|