Remove some leftover for HHVM support

This commit is contained in:
Fabien Potencier 2020-09-09 07:19:58 +02:00
parent 656fc3b82a
commit cf9e75614b
3 changed files with 2 additions and 9 deletions

View File

@ -489,7 +489,7 @@ class ErrorHandler
if ($this->isRecursive) {
$log = 0;
} else {
if (\PHP_VERSION_ID < (\PHP_VERSION_ID < 70400 ? 70316 : 70404) && !\defined('HHVM_VERSION')) {
if (\PHP_VERSION_ID < (\PHP_VERSION_ID < 70400 ? 70316 : 70404)) {
$currentErrorHandler = set_error_handler('var_dump');
restore_error_handler();
}
@ -501,7 +501,7 @@ class ErrorHandler
} finally {
$this->isRecursive = false;
if (\PHP_VERSION_ID < (\PHP_VERSION_ID < 70400 ? 70316 : 70404) && !\defined('HHVM_VERSION')) {
if (\PHP_VERSION_ID < (\PHP_VERSION_ID < 70400 ? 70316 : 70404)) {
set_error_handler($currentErrorHandler);
}
}

View File

@ -194,10 +194,6 @@ class NativeSessionStorageTest extends TestCase
public function testSessionOptions()
{
if (\defined('HHVM_VERSION')) {
$this->markTestSkipped('HHVM is not handled in this test case.');
}
$options = [
'url_rewriter.tags' => 'a=href',
'cache_expire' => '200',

View File

@ -84,9 +84,6 @@ EOTXT
public function testFromCallableClosureCaster()
{
if (\defined('HHVM_VERSION_ID')) {
$this->markTestSkipped('Not for HHVM.');
}
$var = [
(new \ReflectionMethod($this, __FUNCTION__))->getClosure($this),
(new \ReflectionMethod(__CLASS__, 'stub'))->getClosure(),