From fd3dd12c2f95b6876232bbf92af9f6899722b380 Mon Sep 17 00:00:00 2001 From: ozh Date: Fri, 30 Jun 2017 20:05:48 +0200 Subject: [PATCH] Fix tests on PHP 5.6 & HHVM --- .travis.yml | 1 + composer.json | 2 +- tests/ExampleTest.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0c6840d..1c0ac22 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ +dist: trusty language: php php: diff --git a/composer.json b/composer.json index 2bc64c1..35e0b58 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "php" : "~5.6|~7.0" }, "require-dev": { - "phpunit/phpunit" : "~4.0||~5.0||~6.0", + "phpunit/phpunit" : ">=5.4.3", "squizlabs/php_codesniffer": "^2.3" }, "autoload": { diff --git a/tests/ExampleTest.php b/tests/ExampleTest.php index a3b4876..e2533c1 100644 --- a/tests/ExampleTest.php +++ b/tests/ExampleTest.php @@ -2,7 +2,7 @@ namespace League\Skeleton; -class ExampleTest extends \PHPUnit_Framework_TestCase +class ExampleTest extends \PHPUnit\Framework\TestCase { /** * Test that true does in fact equal true