Quash some monolog debug explicitly when we're running tests.
This commit is contained in:
parent
509d794ab5
commit
3f3b167e3d
1 changed files with 3 additions and 1 deletions
|
|
@ -156,7 +156,9 @@ class App
|
|||
(new Filesystem())->mkdir($twigCachePath, 0777);
|
||||
} catch (IOException $IOException) {
|
||||
unset($twigSettings['cache']);
|
||||
$this->getLogger()->warning(sprintf('Could not create Twig cache (%s), Twig cache disabled ', $twigCachePath));
|
||||
if (!in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) {
|
||||
$this->getLogger()->warning(sprintf('Could not create Twig cache (%s), Twig cache disabled ', $twigCachePath));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue