Skip to content

Commit d67b86b

Browse files
committed
Add missing stderr redirection
This seems to have been overlooked in 6c0e6af, and results in the test suite being polluted on machines where phpdbg is not installed. I updated the code to mimic other occurences of exec in this file.
1 parent e279e2a commit d67b86b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function test()
1616
$this->markTestSkipped('This test cannot be run on HHVM.');
1717
}
1818

19-
exec('type phpdbg', $output, $returnCode);
19+
exec('type phpdbg 2> /dev/null', $output, $returnCode);
2020

2121
if (\PHP_VERSION_ID >= 70000 && 0 === $returnCode) {
2222
$php = 'phpdbg -qrr';

0 commit comments

Comments
 (0)