From 2dc78b1d526478280ba635767cba229787ac6c68 Mon Sep 17 00:00:00 2001 From: Ilya Zaporozhets Date: Fri, 25 Aug 2017 13:00:36 +0300 Subject: [PATCH] PHPUnit 6.* support --- composer.json | 5 ++--- tests/Diff/Renderer/Html/ArrayTest.php | 4 +++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 12d70ab6..d7df87c2 100644 --- a/composer.json +++ b/composer.json @@ -4,8 +4,7 @@ "description": "A comprehensive library for generating differences between two hashable objects (strings or arrays).", "authors": [ { - "name": "Chris Boulton", - "email": "@chrisboulton" + "name": "Chris Boulton" } ], "autoload": { @@ -14,6 +13,6 @@ } }, "require-dev": { - "phpunit/phpunit": "~5.5" + "phpunit/phpunit": "6.*" } } diff --git a/tests/Diff/Renderer/Html/ArrayTest.php b/tests/Diff/Renderer/Html/ArrayTest.php index e0e303d0..5dfc0e8f 100644 --- a/tests/Diff/Renderer/Html/ArrayTest.php +++ b/tests/Diff/Renderer/Html/ArrayTest.php @@ -2,7 +2,9 @@ namespace Tests\Diff\Renderer\Html; -class ArrayTest extends \PHPUnit_Framework_TestCase +use PHPUnit\Framework\TestCase; + +class ArrayTest extends TestCase { public function testRenderSimpleDelete() {