mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-03 09:50:49 +00:00
b4e0bff933
6baafbc5a6
[Scoper] Remove SmartFileInfo and ContainerConfigurator setup on bootstrap.php (#2253)
19 lines
585 B
PHP
19 lines
585 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Core\Configuration\Option;
|
|
use Rector\Php74\Rector\Property\TypedPropertyRector;
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
/**
|
|
* This e2e test is to be removed after fully migrated to RectorConfig
|
|
*/
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
$parameters = $containerConfigurator->parameters();
|
|
$parameters->set(Option::PATHS, [__DIR__ . '/src']);
|
|
|
|
$services = $containerConfigurator->services();
|
|
$services->set(TypedPropertyRector::class);
|
|
};
|