mirror of
https://github.com/yiisoft/yii.git
synced 2026-02-19 17:11:23 +01:00
12 lines
357 B
Diff
12 lines
357 B
Diff
--- a/src/Util/PHP/Template/TestCaseMethod.tpl.dist
|
|
+++ b/src/Util/PHP/Template/TestCaseMethod.tpl.dist
|
|
@@ -56,7 +56,7 @@
|
|
}
|
|
|
|
@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;
|
|
}
|
|
|