Skip to content

Commit

Permalink
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
carusogabriel committed Nov 13, 2017
1 parent 49ac483 commit 1b77fa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"php": ">=5.4.0"
},
"require-dev": {
"phpunit/phpunit": "~4.8"
"phpunit/phpunit": "~4.8.35"
},
"suggest": {
"ext-libevent": ">=0.1.0 for LibEventLoop and PHP5 only",
Expand Down
3 changes: 2 additions & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

namespace React\Tests\EventLoop;

use PHPUnit\Framework\TestCase as BaseTestCase;
use React\EventLoop\LoopInterface;

class TestCase extends \PHPUnit_Framework_TestCase
class TestCase extends BaseTestCase
{
protected function expectCallableExactly($amount)
{
Expand Down

0 comments on commit 1b77fa2

Please sign in to comment.