8000 minor #25637 Remove dead code (chalasr) · symfony/symfony@de3d060 · GitHub
[go: up one dir, main page]

Skip to content

Commit de3d060

Browse files
committed
minor #25637 Remove dead code (chalasr)
This PR was merged into the 4.0 branch. Discussion ---------- Remove dead code | Q | A | ------------- | --- | Branch? | 4.0 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- b8006b1 Remove dead code
2 parents 3a23ec7 + b8006b1 commit de3d060

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

src/Symfony/Bridge/PhpUnit/Tests/CoverageListenerTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ public function test()
1212
$this->markTestSkipped('This test cannot be run on Windows.');
1313
}
1414

15-
if (defined('HHVM_VERSION')) {
16-
$this->markTestSkipped('This test cannot be run on HHVM.');
17-
}
18-
1915
if (\PHP_VERSION_ID >= 70000) {
2016
$php = 'phpdbg -qrr';
2117
} else {

src/Symfony/Component/DependencyInjection/Tests/Loader/XmlFileLoaderTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,9 +448,6 @@ public function testExtensionInPhar()
448448
if (extension_loaded('suhosin') && false === strpos(ini_get('suhosin.executor.include.whitelist'), 'phar')) {
449449
$this->markTestSkipped('To run this test, add "phar" to the "suhosin.executor.include.whitelist" settings in your php.ini file.');
450450
}
451-
if (defined('HHVM_VERSION')) {
452-
$this->markTestSkipped('HHVM makes this test conflict with those run in separate processes.');
453-
}
454451

455452
require_once self::$fixturesPath.'/includes/ProjectWithXsdExtensionInPhar.phar';
456453

src/Symfony/Component/Process/Process.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -288,13 +288,10 @@ public function start(callable $callback = null, array $env = array())
288288
// @see : https://bugs.php.net/69442
289289
$ptsWorkaround = fopen(__FILE__, 'r');
290290
}
291-
if (defined('HHVM_VERSION')) {
292-
$envPairs = $env;
293-
} else {
294-
$envPairs = array();
295-
foreach ($env as $k => $v) {
296-
$envPairs[] = $k.'='.$v;
297-
}
291+
292+
$envPairs = array();
293+
foreach ($env as $k => $v) {
294+
$envPairs[] = $k.'='.$v;
298295
}
299296

300297
if (!is_dir($this->cwd)) {

0 commit comments

Comments
 (0)
0