From 6e58b163b9ee3843e592116fa760618095893070 Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Sun, 12 Nov 2017 00:25:08 -0200 Subject: [PATCH] Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase --- composer.json | 2 +- tests/TestCase.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index d110e2a..84e9766 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "evenement/evenement": "^3.0 || ^2.0 || ^1.0" }, "require-dev": { - "phpunit/phpunit": "^5.0 || ^4.8.10", + "phpunit/phpunit": "^5.7 || ^4.8.35", "clue/stream-filter": "~1.2" }, "suggest": { diff --git a/tests/TestCase.php b/tests/TestCase.php index 63746f9..c8fc1db 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,7 +2,9 @@ namespace React\Tests\Stream; -class TestCase extends \PHPUnit_Framework_TestCase +use PHPUnit\Framework\TestCase as BaseTestCase; + +class TestCase extends BaseTestCase { protected function expectCallableExactly($amount) {