diff --git a/src/Kernel.php b/src/Kernel.php index c14ae01c8..88b6705f4 100644 --- a/src/Kernel.php +++ b/src/Kernel.php @@ -37,6 +37,12 @@ public function registerContainerConfiguration(LoaderInterface $loader): void { $this->registerExtensionConfiguration($loader); } + /** @infection-ignore-all */ + public function getCacheDir(): string { + $testToken = getenv('TEST_TOKEN') ?? ''; + return parent::getCacheDir() . $testToken; + } + protected function registerExtensionConfiguration(mixed $loader): void { // Search for plugins. $finder = new Finder();