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()
189189
190190 /*
191191 * 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.
193193 */
194194 if (class_exists ('PHPUnit_Framework_Error ' )) {
195195 // PHPUnit 5.7
196196 $ this ->setExpectedException (\PHPUnit_Framework_Error::class);
197197 } else {
198198 // PHPUnit 6.0 and above
199- $ this ->expectException (\ PHPUnit \Framework \Error \Warning::class);
199+ $ this ->expectException (PHPUnit \Framework \Error \Warning::class);
200200 }
201201
202202 $ this ->collector
Original file line number Diff line number Diff line change 3333 "symfony/dependency-injection" : " ^2.8.3 || ^3.0.3"
3434 },
3535 "require-dev" : {
36- "phpunit/phpunit" : " ^4.8.35 || ^5.7 || ^6.1" ,
3736 "phpunit/php-token-stream" : " ^1.1.8" ,
3837 "php-http/curl-client" : " ^1.0" ,
3938 "php-http/socket-client" : " ^1.0" ,
You can’t perform that action at this time.
0 commit comments