From ba61af080c8a618ce5ff33ae4cc79229fb1c1fc4 Mon Sep 17 00:00:00 2001 From: Mario Blazek Date: Mon, 26 Feb 2018 10:14:36 +0100 Subject: [PATCH] Use namespaced TestCase (#1021) --- composer.json | 2 +- tests/AbstractTestCase.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 9047173367..f010e60485 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "~2", - "phpunit/phpunit": "~4.0 || ~5.0" + "phpunit/phpunit": "^4.8.35 || ^5.7" }, "autoload": { "psr-4": { diff --git a/tests/AbstractTestCase.php b/tests/AbstractTestCase.php index 17e5eb626a..467678a8fb 100644 --- a/tests/AbstractTestCase.php +++ b/tests/AbstractTestCase.php @@ -14,9 +14,9 @@ use Carbon\Carbon; use Carbon\CarbonInterval; use Closure; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; -abstract class AbstractTestCase extends PHPUnit_Framework_TestCase +abstract class AbstractTestCase extends TestCase { /** * @var \Carbon\Carbon