Commit 46405c4 1 parent baf5165 commit 46405c4 Copy full SHA for 46405c4
File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 108
108
"phpunit/phpunit" : {
109
109
"Fix PHP 7 compatibility" : " https://yiisoft.github.io/phpunit-patches/phpunit_php7.patch" ,
110
110
"Fix PHP 8 compatibility" : " https://yiisoft.github.io/phpunit-patches/phpunit_php8.patch" ,
111
- "Fix PHP 8.1 compatibility" : " https://yiisoft.github.io/phpunit-patches/phpunit_php81.patch"
111
+ "Fix PHP 8.1 compatibility" : " https://yiisoft.github.io/phpunit-patches/phpunit_php81.patch" ,
112
+ "Fix PHP 8.3 compatibility" : " tests/phpunit_php83.patch"
112
113
}
113
114
}
114
115
},
Original file line number Diff line number Diff line change
1
+ --- a/src/Util/PHP/Template/TestCaseMethod.tpl.dist
2
+ +++ b/src/Util/PHP/Template/TestCaseMethod.tpl.dist
3
+ @@ -56,7 +56,7 @@
4
+ }
5
+
6
+ @rewind(STDOUT); /* @ as not every STDOUT target stream is rewindable */
7
+ - if ($stdout = stream_get_contents(STDOUT)) {
8
+ + if ($stdout = @stream_get_contents(STDOUT)) {
9
+ $output = $stdout . $output;
10
+ }
11
+
You can’t perform that action at this time.
0 commit comments