Skip to content

Commit 1b77fa2

Browse files
committed
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
1 parent 49ac483 commit 1b77fa2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"php": ">=5.4.0"
88
},
99
"require-dev": {
10-
"phpunit/phpunit": "~4.8"
10+
"phpunit/phpunit": "~4.8.35"
1111
},
1212
"suggest": {
1313
"ext-libevent": ">=0.1.0 for LibEventLoop and PHP5 only",

tests/TestCase.php

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

33
namespace React\Tests\EventLoop;
44

5+
use PHPUnit\Framework\TestCase as BaseTestCase;
56
use React\EventLoop\LoopInterface;
67

7-
class TestCase extends \PHPUnit_Framework_TestCase
8+
class TestCase extends BaseTestCase
89
{
910
protected function expectCallableExactly($amount)
1011
{

0 commit comments

Comments
 (0)