Add missing stderr redirection
This seems to have been overlooked in
6c0e6af47a
, 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.
This commit is contained in:
parent
e279e2a50d
commit
d67b86b9e7
|
@ -16,7 +16,7 @@ class CoverageListenerTest extends TestCase
|
|||
$this->markTestSkipped('This test cannot be run on HHVM.');
|
||||
}
|
||||
|
||||
exec('type phpdbg', $output, $returnCode);
|
||||
exec('type phpdbg 2> /dev/null', $output, $returnCode);
|
||||
|
||||
if (\PHP_VERSION_ID >= 70000 && 0 === $returnCode) {
|
||||
$php = 'phpdbg -qrr';
|
||||
|
|
Reference in New Issue