From ea0ca9ae8f4c96e640606754c16ad09e76606ac9 Mon Sep 17 00:00:00 2001 From: ADmad Date: Sat, 15 Aug 2020 00:40:26 +0530 Subject: [PATCH] Allow installing on PHP 8. Signed-off-by: ADmad --- .travis.yml | 3 +++ composer.json | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 90ae12c..4d4dd4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,9 @@ matrix: - CS_CHECK=true - php: 7.3 - php: 7.4 + - php: 'nightly' + env: + - COMPOSER_ARGS="--no-interaction --ignore-platform-reqs" before_install: - if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi diff --git a/composer.json b/composer.json index e4c9941..74e87cb 100644 --- a/composer.json +++ b/composer.json @@ -15,10 +15,10 @@ "forum": "https://discourse.laminas.dev/" }, "require": { - "php": "^5.6 || ^7.0" + "php": "^5.6 || ^7.0 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.1", + "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.1 || ^9.3", "squizlabs/php_codesniffer": "^3.5" }, "autoload": {