mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 13:28:18 +01:00
504a41770d
f8e04774ad
Fixing scoped build (#1143)
12 lines
351 B
PHP
12 lines
351 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Core\Configuration\Option;
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
$parameters = $containerConfigurator->parameters();
|
|
$parameters->set(Option::PATHS, [__DIR__ . '/src']);
|
|
};
|