Skip to content

Commit c9db102

Browse files
committed
Add missing stderr redirection
This seems to have been overlooked in 6c0e6af47a5f36b906892537f5b2fbf15dab30b2, 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 4519412 commit c9db102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)