From 65bcbbc1b52ad2a1476b2f76b44e7fc15db38a3b Mon Sep 17 00:00:00 2001 From: Remi Collet <remi@remirepo.net> Date: Tue, 27 Jun 2017 11:08:36 +0200 Subject: [PATCH] use modern PHPUnit --- composer.json | 2 +- tests/QrReaderTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 53267b8..2fb3ffd 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "php": "^5.6|^7.0" }, "require-dev": { - "phpunit/phpunit": "^5.7" + "phpunit/phpunit": "^5.7|^6.0" }, "autoload": { "classmap": ["lib/"], diff --git a/tests/QrReaderTest.php b/tests/QrReaderTest.php index 0521ec3..1ceac1f 100644 --- a/tests/QrReaderTest.php +++ b/tests/QrReaderTest.php @@ -2,7 +2,7 @@ namespace Khanamiryan\QrCodeTests; -class QrReaderTest extends \PHPUnit_Framework_TestCase +class QrReaderTest extends \PHPUnit\Framework\TestCase { public function testText1()