Skip to content

Commit a298736

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: [Messenger] Fix function name in TriggerSql on postgresql bridge to support table name with schema [HttpClient] Fix the CS fix Workaround disabled "var_dump" [Serializer] Respect default context in DateTimeNormalizer::denormalize
2 parents 3758329 + 7aa397d commit a298736

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ErrorHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ public function screamAt(int $levels, bool $replace = false): int
360360
private function reRegister(int $prev): void
361361
{
362362
if ($prev !== $this->thrownErrors | $this->loggedErrors) {
363-
$handler = set_error_handler('var_dump');
363+
$handler = set_error_handler('is_int');
364364
$handler = \is_array($handler) ? $handler[0] : null;
365365
restore_error_handler();
366366
if ($handler === $this) {
@@ -578,7 +578,7 @@ public static function handleFatalError(array $error = null): void
578578
$sameHandlerLimit = 10;
579579

580580
while (!\is_array($handler) || !$handler[0] instanceof self) {
581-
$handler = set_exception_handler('var_dump');
581+
$handler = set_exception_handler('is_int');
582582
restore_exception_handler();
583583

584584
if (!$handler) {

0 commit comments

Comments
 (0)