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 7c41c5a commit 1e97a51Copy full SHA for 1e97a51
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