2020-07-16 13:07:08 +02:00
|
|
|
<?php
|
|
|
|
|
2021-05-09 20:15:43 +00:00
|
|
|
declare (strict_types=1);
|
2022-04-12 06:58:51 +00:00
|
|
|
namespace RectorPrefix20220412;
|
2020-07-16 13:07:08 +02:00
|
|
|
|
2021-04-22 10:30:18 +02:00
|
|
|
use Rector\Core\Bootstrap\ExtensionConfigResolver;
|
2021-06-02 10:21:10 +00:00
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
|
2020-07-16 13:07:08 +02:00
|
|
|
$containerConfigurator->import(__DIR__ . '/services.php');
|
2021-03-12 23:20:25 +01:00
|
|
|
$containerConfigurator->import(__DIR__ . '/services-rules.php');
|
2021-03-15 21:01:47 +01:00
|
|
|
$containerConfigurator->import(__DIR__ . '/services-packages.php');
|
2021-03-12 02:21:29 +01:00
|
|
|
$containerConfigurator->import(__DIR__ . '/parameters.php');
|
2021-05-10 22:23:08 +00:00
|
|
|
$extensionConfigResolver = new \Rector\Core\Bootstrap\ExtensionConfigResolver();
|
2021-04-22 10:30:18 +02:00
|
|
|
$extensionConfigFiles = $extensionConfigResolver->provide();
|
|
|
|
foreach ($extensionConfigFiles as $extensionConfigFile) {
|
|
|
|
$containerConfigurator->import($extensionConfigFile->getRealPath());
|
2021-03-19 21:29:10 +01:00
|
|
|
}
|
2021-03-18 00:42:12 +01:00
|
|
|
// require only in dev
|
|
|
|
$containerConfigurator->import(__DIR__ . '/../utils/compiler/config/config.php', null, 'not_found');
|
2020-07-16 13:07:08 +02:00
|
|
|
};
|