From 4bdaf8bc318981d49e78e2e9056ab796448ceadd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Mon, 25 May 2020 21:17:24 +0200 Subject: [PATCH] Allow PHP 8 --- .travis.yml | 10 ++++++++++ composer.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6ad3343a1..f35d4b7d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,17 @@ install: script: ./vendor/bin/phpunit jobs: + allow_failures: + - php: nightly + include: + - stage: Test + php: nightly + before_install: + - composer config platform.php 7.4.99 + install: + - travis_retry composer update --prefer-dist + - stage: Test env: COVERAGE before_script: diff --git a/composer.json b/composer.json index 2e1a892eb..f0b6a4a21 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ {"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"} ], "require": { - "php": "^7.1.3" + "php": "^7.1.3 || ^8.0" }, "require-dev": { "phpunit/phpunit": "^7.0",