From 4bc462550365256c72ee4f8825ec378f35967de4 Mon Sep 17 00:00:00 2001 From: Bilge Date: Tue, 15 Dec 2020 18:29:07 +0000 Subject: [PATCH] Added PHP 8 support. Dropped PHP 7.1 support. --- .travis.yml | 4 ++-- composer.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ee1d719..ce8ad05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,10 @@ sudo: false language: php php: - - 7.1 - 7.2 - 7.3 - 7.4 + - 8.0 env: matrix: @@ -29,7 +29,7 @@ install: - composer update --no-progress --no-suggest $DEPENDENCIES script: - - composer test -- --coverage-clover=build/logs/clover.xml + - XDEBUG_MODE=coverage composer test -- --coverage-clover=build/logs/clover.xml after_success: - composer require php-coveralls/php-coveralls:^2 diff --git a/composer.json b/composer.json index 7f0fcae..19d073f 100644 --- a/composer.json +++ b/composer.json @@ -8,11 +8,11 @@ } ], "require": { - "php": "^7.1", + "php": "^7.2|^8", "scriptfusion/static-class": "^1" }, "require-dev": { - "phpunit/phpunit": "^6" + "phpunit/phpunit": "^8.5|^9" }, "autoload": { "psr-4": {