We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b58ff0 commit 284a69fCopy full SHA for 284a69f
src/Util/PHP/Template/TestCaseMethod.tpl.dist
@@ -55,7 +55,7 @@ function __phpunit_run_isolated_test()
55
$output = $test->getActualOutput();
56
}
57
58
- rewind(STDOUT);
+ @rewind(STDOUT); /* @ as not every STDOUT target stream is rewindable */
59
if ($stdout = stream_get_contents(STDOUT)) {
60
$output = $stdout . $output;
61
src/Util/PHP/eval-stdin.php
@@ -1,3 +1,3 @@
1
<?php
2
3
-eval('?>' . file_get_contents('php://input'));
+eval('?>' . file_get_contents('php://stdin'));
0 commit comments