We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb07d18 commit 89818d9Copy full SHA for 89818d9
src/Symfony/Component/HttpKernel/Kernel.php
@@ -407,7 +407,8 @@ protected function initializeContainer()
407
$cachePath = $cache->getPath();
408
409
// Silence E_WARNING to ignore "include" failures - don't use "@" to prevent silencing fatal errors
410
- $errorLevel = error_reporting(\E_ALL ^ \E_WARNING);
+ $errorLevel = error_reporting();
411
+ error_reporting($errorLevel & ~\E_WARNING);
412
413
try {
414
if (is_file($cachePath) && \is_object($this->container = include $cachePath)
0 commit comments