File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -189,14 +189,14 @@ public function testOnError()
189
189
190
190
/*
191
191
* Use the correct PHPUnit version
192
- * PHPUnit wrap any \Error into a \PHPUnit_Framework_Error. So we are expecting the
192
+ * PHPUnit wrap any \Error into a \PHPUnit\Framework\Error\Warning.
193
193
*/
194
194
if (class_exists ('PHPUnit_Framework_Error ' )) {
195
195
// PHPUnit 5.7
196
196
$ this ->setExpectedException (\PHPUnit_Framework_Error::class);
197
197
} else {
198
198
// PHPUnit 6.0 and above
199
- $ this ->expectException (\ PHPUnit \Framework \Error \Warning::class);
199
+ $ this ->expectException (PHPUnit \Framework \Error \Warning::class);
200
200
}
201
201
202
202
$ this ->collector
Original file line number Diff line number Diff line change 33
33
"symfony/dependency-injection" : " ^2.8.3 || ^3.0.3"
34
34
},
35
35
"require-dev" : {
36
- "phpunit/phpunit" : " ^4.8.35 || ^5.7 || ^6.1" ,
37
36
"phpunit/php-token-stream" : " ^1.1.8" ,
38
37
"php-http/curl-client" : " ^1.0" ,
39
38
"php-http/socket-client" : " ^1.0" ,
You can’t perform that action at this time.
0 commit comments