From 9039b3781f1daaecc51433fb5ae357bbd5658d08 Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Mon, 25 May 2020 21:17:22 +0200 Subject: [PATCH] Allow installing on PHP 8 --- .travis.yml | 10 ++++++++++ composer.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 096a5621e..ca38b1a9c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,9 @@ script: - ./vendor/bin/phpunit -v jobs: + allow_failures: + - php: nightly + include: # Tests the lowest set of dependencies - php: 7.1 @@ -60,6 +63,13 @@ jobs: install: - travis_retry composer update -n --prefer-dist + # Test against PHP 8 + - php: nightly + before_install: + - composer config platform.php 7.4.99 + install: + - travis_retry composer update -n --prefer-dist + - stage: Code Quality env: CODING_STANDARDS php: 7.3 diff --git a/composer.json b/composer.json index 370df8d80..e2c14d6f8 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ } ], "require": { - "php": "^7.1", + "php": "^7.1 || ^8.0", "doctrine/dbal": "^2.5.12", "doctrine/doctrine-cache-bundle": "~1.2", "doctrine/persistence": "^1.3.3",