Skip to content

Commit 6e58b16

Browse files
committed
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
1 parent bbf5938 commit 6e58b16

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
@@ -9,7 +9,7 @@
99
"evenement/evenement": "^3.0 || ^2.0 || ^1.0"
1010
},
1111
"require-dev": {
12-
"phpunit/phpunit": "^5.0 || ^4.8.10",
12+
"phpunit/phpunit": "^5.7 || ^4.8.35",
1313
"clue/stream-filter": "~1.2"
1414
},
1515
"suggest": {

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\Stream;
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)