10000 Remove some leftover for HHVM support · symfony/debug@726b85e · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit 726b85e

Browse files
committed
Remove some leftover for HHVM support
1 parent 4bbe6b7 commit 726b85e

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
@@ -489,7 +489,7 @@ public function handleError($type, $message, $file, $line)
489489
if ($this->isRecursive) {
490490
$log = 0;
491491
} else {
492-
if (\PHP_VERSION_ID < (\PHP_VERSION_ID < 70400 ? 70316 : 70404) && !\defined('HHVM_VERSION')) {
492+
if (\PHP_VERSION_ID < (\PHP_VERSION_ID < 70400 ? 70316 : 70404)) {
493493
$currentErrorHandler = set_error_handler('var_dump');
494494
restore_error_handler();
495495
}
@@ -501,7 +501,7 @@ public function handleError($type, $message, $file, $line)
501501
} finally {
502502
$this->isRecursive = false;
503503

504-
if (\PHP_VERSION_ID < (\PHP_VERSION_ID < 70400 ? 70316 : 70404) && !\defined('HHVM_VERSION')) {
504+
if (\PHP_VERSION_ID < (\PHP_VERSION_ID < 70400 ? 70316 : 70404)) {
505505
set_error_handler($currentErrorHandler);
506506
}
507507
}

0 commit comments

Comments
 (0)
0