From 36f4704c3e00561a21f4c4d4a0066ac5ec384a43 Mon Sep 17 00:00:00 2001 From: Valentin Date: Tue, 20 Aug 2019 12:05:39 -0400 Subject: [PATCH] Update to PHPUnit 6 --- composer.json | 6 +++--- tests/src/Provider/LightspeedResourceOwnerTest.php | 2 +- tests/src/Provider/LightspeedTest.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index bc878e6..d5e4e67 100644 --- a/composer.json +++ b/composer.json @@ -26,9 +26,9 @@ "guzzlehttp/guzzle": "~6.0" }, "require-dev": { - "phpunit/phpunit": "~4.0", - "mockery/mockery": "~0.9", - "squizlabs/php_codesniffer": "~2.0" + "phpunit/phpunit": "~6.0", + "mockery/mockery": "~1.0", + "squizlabs/php_codesniffer": "^3.4" }, "autoload": { "psr-4": { diff --git a/tests/src/Provider/LightspeedResourceOwnerTest.php b/tests/src/Provider/LightspeedResourceOwnerTest.php index ed9287d..8336833 100644 --- a/tests/src/Provider/LightspeedResourceOwnerTest.php +++ b/tests/src/Provider/LightspeedResourceOwnerTest.php @@ -4,7 +4,7 @@ use League\OAuth2\Client\Provider\LightspeedResourceOwner; -class LightspeedResourceOwnerTest extends \PHPUnit_Framework_TestCase +class LightspeedResourceOwnerTest extends \PHPUnit\Framework\TestCase { /** * @var LightspeedResourceOwner diff --git a/tests/src/Provider/LightspeedTest.php b/tests/src/Provider/LightspeedTest.php index b6e9442..34e34f0 100644 --- a/tests/src/Provider/LightspeedTest.php +++ b/tests/src/Provider/LightspeedTest.php @@ -14,7 +14,7 @@ protected function fetchResourceOwnerDetails(AccessToken $token) } } -class LightspeedTest extends \PHPUnit_Framework_TestCase +class LightspeedTest extends \PHPUnit\Framework\TestCase { /**