Skip to content

Commit 3457ef6

Browse files
committed
Removed phpunit/phpunit
1 parent 41e8a04 commit 3457ef6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Tests/Unit/Collector/StackPluginTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
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",

0 commit comments

Comments
 (0)