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:
  [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
  • Loading branch information
ogizanagi committed Jul 28, 2022
2 parents 3758329 + 7aa397d commit a298736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ public function screamAt(int $levels, bool $replace = false): int
private function reRegister(int $prev): void
{
if ($prev !== $this->thrownErrors | $this->loggedErrors) {
$handler = set_error_handler('var_dump');
$handler = set_error_handler('is_int');
$handler = \is_array($handler) ? $handler[0] : null;
restore_error_handler();
if ($handler === $this) {
Expand Down Expand Up @@ -578,7 +578,7 @@ public static function handleFatalError(array $error = null): void
$sameHandlerLimit = 10;

while (!\is_array($handler) || !$handler[0] instanceof self) {
$handler = set_exception_handler('var_dump');
$handler = set_exception_handler('is_int');
restore_exception_handler();

if (!$handler) {
Expand Down

0 comments on commit a298736

Please sign in to comment.