mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-19 09:32:22 +00:00
* [e2e][scoped] Add e2e global install on scoped * rector command to reproduce * clean up comment * wait 70 seconds for deploy to packagist * autoload * clean up * clean up * clean up
16 lines
572 B
PHP
16 lines
572 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\CodingStyle\Rector\ClassMethod\MakeInheritedMethodVisibilitySameAsParentRector;
|
|
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/']);
|
|
|
|
$services = $containerConfigurator->services();
|
|
$services->set(MakeInheritedMethodVisibilitySameAsParentRector::class);
|
|
};
|