8000 minor #38119 Remove some leftover for HHVM support (fabpot) · symfony/symfony@bb3bc7f · GitHub
[go: up one dir, main page]

Skip to content

Commit bb3bc7f

Browse files
committed
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 ------- cf9e756 Remove some leftover for HHVM support
2 parents 656fc3b + cf9e756 commit bb3bc7f

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

src/Symfony/Component/Debug/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
}

src/Symfony/Component/HttpFoundation/Tests/Session/Storage/NativeSessionStorageTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,6 @@ public function testCookieOptions()
194194

195195
public function testSessionOptions()
196196
{
197-
if (\defined('HHVM_VERSION')) {
198-
$this->markTestSkipped('HHVM is not handled in this test case.');
199-
}
200-
201197
$options = [
202198
'url_rewriter.tags' => 'a=href',
203199
'cache_expire' => '200',

src/Symfony/Component/VarDumper/Tests/Caster/ReflectionCasterTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ public function testClosureCaster()
8484

8585
public function testFromCallableClosureCaster()
8686
{
87-
if (\defined('HHVM_VERSION_ID')) {
88-
$this->markTestSkipped('Not for HHVM.');
89-
}
9087
$var = [
9188
(new \ReflectionMethod($this, __FUNCTION__))->getClosure($this),
9289
(new \ReflectionMethod(__CLASS__, 'stub'))->getClosure(),

0 commit comments

Comments
 (0)
0