Skip to content

Commit 30a10af

Browse files
committed
Support PHPUnit 6
1 parent 5866eb6 commit 30a10af

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"evenement/evenement": "^3.0 || ^2.0"
1414
},
1515
"require-dev": {
16-
"phpunit/phpunit": "^5.0 || ^4.8.10"
16+
"phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35"
1717
},
1818
"autoload": {
1919
"psr-4": {

tests/TestCase.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
namespace React\Tests\HttpClient;
44

5-
class TestCase extends \PHPUnit_Framework_TestCase
5+
use PHPUnit\Framework\TestCase as BaseTestCase;
6+
7+
class TestCase extends BaseTestCase
68
{
79
protected function expectCallableExactly($amount)
810
{

0 commit comments

Comments
 (0)