mirror of
https://github.com/yiisoft/yii.git
synced 2026-02-19 17:11:23 +01:00
Patch moved upstream
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
"Fix PHP 7 compatibility": "https://yiisoft.github.io/phpunit-patches/phpunit_php7.patch",
|
||||
"Fix PHP 8 compatibility": "https://yiisoft.github.io/phpunit-patches/phpunit_php8.patch",
|
||||
"Fix PHP 8.1 compatibility": "https://yiisoft.github.io/phpunit-patches/phpunit_php81.patch",
|
||||
"Fix PHP 8.3 compatibility": "tests/phpunit_php83.patch"
|
||||
"Fix PHP 8.3 compatibility": "https://yiisoft.github.io/phpunit-patches/phpunit_php83.patch"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user