use cached container even with debug mode != 0

This commit is contained in:
Daniel Seifert 2024-06-05 10:34:54 +02:00
parent 31c3ac4e50
commit 2f12e28020
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ class d3DicHandler implements d3DicHandlerInterface
$config = $this->d3GetConfig();
return $config->isProductiveMode()
&& !$config->getConfigParam('iDebug')
// && !$config->getConfigParam('iDebug')
&& $this->cacheFileExists();
}

View File

@ -421,7 +421,7 @@ class d3DicHandlerTest extends TestCase
public function canUseCachedContainerDataProvider(): Generator
{
yield "not productive" => [false, 0, true, false];
yield 'is debug' => [true, 1, true, false];
yield 'is debug' => [true, 1, true, true];
yield 'no cache file' => [true, 0, false, false];
yield 'can use cached' => [true, 0, true, true];
}