8000 Swallow errors · symfony/symfony@ee8cc26 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee8cc26

Browse files
committed
Swallow errors
1 parent f9bfe7f commit ee8cc26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function __construct($message, array $trace, $file)
6161
$this->triggeringFile = $file;
6262
if (isset($line['object']) || isset($line['class'])) {
6363
set_error_handler(function () {});
64-
$parsedMsg = unserialize($this->message);
64+
$parsedMsg = @unserialize($this->message);
6565
restore_error_handler();
6666
if ($parsedMsg && isset($parsedMsg['deprecation'])) {
6767
$this->message = $parsedMsg['deprecation'];

0 commit comments

Comments
 (0)
0