Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit72e189a

Browse files
Merge branch '4.0'
* 4.0: fix merge
2 parents7ecfc7f +527f7e4 commit72e189a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/Symfony/Component/HttpKernel/Kernel.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -505,13 +505,13 @@ protected function initializeContainer()
505505

506506
$oldContainer =file_exists($cache->getPath()) &&is_object($oldContainer =include$cache->getPath()) ?new \ReflectionClass($oldContainer) :false;
507507
}finally {
508-
if ($this->debug &&true !==$previousHandler) {
508+
if (!$this->debug) {
509+
error_reporting($errorLevel);
510+
}elseif (true !==$previousHandler) {
509511
restore_error_handler();
510512

511513
file_put_contents($cacheDir.'/'.$class.'Deprecations.log',serialize(array_values($collectedLogs)));
512514
file_put_contents($cacheDir.'/'.$class.'Compiler.log',null !==$container ?implode("\n",$container->getCompiler()->getLog()) :'');
513-
}else {
514-
error_reporting($errorLevel);
515515
}
516516
}
517517

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp