Skip to content

Commit

Permalink
Merge branch '6.0' into 6.1
Browse files Browse the repository at this point in the history
* 6.0:
  Fix colors for 4.4
  Stand with Ukraine
  [Runtime] Fix passing $debug parameter to `ErrorHandler`
  [FrameworkBundle] Ensure container is reset between tests
  [HttpKernel] fix using Target with controller args
  reflect Cache component version dependent default value in test
  Remove blocking test for adding support for placeholders in EmumNode in 6.1
  [FrameworkBundle] Fix compiler passes processing a container twice when it's loaded from the debug dump
  [HttpKernel] Fix advertizing deprecations for *TestSessionListener
  • Loading branch information
fabpot committed Mar 8, 2022
2 parents 6e2e208 + 79a9d5d commit 05389f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Internal/SymfonyErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static function register(bool $debug): void
if (class_exists(ErrorHandler::class)) {
DebugClassLoader::enable();
restore_error_handler();
ErrorHandler::register(new ErrorHandler(new BufferingLogger(), true));
ErrorHandler::register(new ErrorHandler(new BufferingLogger(), $debug));
}
}
}

0 comments on commit 05389f3

Please sign in to comment.