minor #38119 Remove some leftover for HHVM support (fabpot)
This PR was merged into the 4.4 branch.
Discussion
----------
Remove some leftover for HHVM support
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License | MIT
| Doc PR | n/a
Commits
-------
cf9e75614b
Remove some leftover for HHVM support
This commit is contained in:
commit
bb3bc7fc48
@ -489,7 +489,7 @@ class ErrorHandler
|
|||||||
if ($this->isRecursive) {
|
if ($this->isRecursive) {
|
||||||
$log = 0;
|
$log = 0;
|
||||||
} else {
|
} 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');
|
$currentErrorHandler = set_error_handler('var_dump');
|
||||||
restore_error_handler();
|
restore_error_handler();
|
||||||
}
|
}
|
||||||
@ -501,7 +501,7 @@ class ErrorHandler
|
|||||||
} finally {
|
} finally {
|
||||||
$this->isRecursive = false;
|
$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);
|
set_error_handler($currentErrorHandler);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -194,10 +194,6 @@ class NativeSessionStorageTest extends TestCase
|
|||||||
|
|
||||||
public function testSessionOptions()
|
public function testSessionOptions()
|
||||||
{
|
{
|
||||||
if (\defined('HHVM_VERSION')) {
|
|
||||||
$this->markTestSkipped('HHVM is not handled in this test case.');
|
|
||||||
}
|
|
||||||
|
|
||||||
$options = [
|
$options = [
|
||||||
'url_rewriter.tags' => 'a=href',
|
'url_rewriter.tags' => 'a=href',
|
||||||
'cache_expire' => '200',
|
'cache_expire' => '200',
|
||||||
|
@ -84,9 +84,6 @@ EOTXT
|
|||||||
|
|
||||||
public function testFromCallableClosureCaster()
|
public function testFromCallableClosureCaster()
|
||||||
{
|
{
|
||||||
if (\defined('HHVM_VERSION_ID')) {
|
|
||||||
$this->markTestSkipped('Not for HHVM.');
|
|
||||||
}
|
|
||||||
$var = [
|
$var = [
|
||||||
(new \ReflectionMethod($this, __FUNCTION__))->getClosure($this),
|
(new \ReflectionMethod($this, __FUNCTION__))->getClosure($this),
|
||||||
(new \ReflectionMethod(__CLASS__, 'stub'))->getClosure(),
|
(new \ReflectionMethod(__CLASS__, 'stub'))->getClosure(),
|
||||||
|
Reference in New Issue
Block a user