From 3985bb7ced09a1f21deb8d0bca759b9d6a33f96a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Pr=C3=A9vot?= Date: Thu, 8 Mar 2018 10:58:24 -1000 Subject: [PATCH] Move to namespaced phpunit versions Debian-Bug: https://bugs.debian.org/882918 --- composer.json | 2 +- tests/SqlFormatterTest.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 5823960..a575235 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "php": ">=5.2.4" }, "require-dev": { - "phpunit/phpunit": "3.7.*" + "phpunit/phpunit": "> 5.4.3" }, "authors": [ { diff --git a/tests/SqlFormatterTest.php b/tests/SqlFormatterTest.php index a7951e8..a3e40db 100644 --- a/tests/SqlFormatterTest.php +++ b/tests/SqlFormatterTest.php @@ -4,7 +4,9 @@ // Force SqlFormatter to run in non-CLI mode for tests SqlFormatter::$cli = false; -class SqlFormatterTest extends PHPUnit_Framework_TestCase { +use PHPUnit\Framework\TestCase; + +class SqlFormatterTest extends TestCase { protected $sqlData; /**