Skip to content

Commit

Permalink
Update TestCaseMethod.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai authored Oct 22, 2020
1 parent 6932086 commit bb09f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util/PHP/Template/TestCaseMethod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function __phpunit_run_isolated_test()

ini_set('xdebug.scream', '0');
@rewind(STDOUT); /* @ as not every STDOUT target stream is rewindable */
if ($stdout = stream_get_contents(STDOUT)) {
if ($stdout = @stream_get_contents(STDOUT)) {
$output = $stdout . $output;
$streamMetaData = stream_get_meta_data(STDOUT);
if (!empty($streamMetaData['stream_type']) && 'STDIO' === $streamMetaData['stream_type']) {
Expand Down

0 comments on commit bb09f0e

Please sign in to comment.