diff --git a/rector.php b/rector.php index 7fda8699d..347457396 100644 --- a/rector.php +++ b/rector.php @@ -13,6 +13,7 @@ return static function (RectorConfig $rectorConfig): void { ]); $rectorConfig->symfonyContainerXml(__DIR__ . '/var/cache/dev/testsApp_KernelDevDebugContainer.xml'); + $rectorConfig->symfonyContainerPhp(__DIR__ . '/tests/symfony-container.php'); //$rectorConfig->cacheClass(\Rector\Caching\ValueObject\Storage\FileCacheStorage::class); //$rectorConfig->cacheDirectory(__DIR__ . '/.cache/rector'); diff --git a/tests/symfony-container.php b/tests/symfony-container.php new file mode 100644 index 000000000..f4b638729 --- /dev/null +++ b/tests/symfony-container.php @@ -0,0 +1,10 @@ +boot(); + +return $appKernel->getContainer();