From b1051f29d759ff8d90f08a625777aa94a5baba47 Mon Sep 17 00:00:00 2001 From: Rudolph Gottesheim <r.gottesheim@loot.at> Date: Thu, 17 Sep 2020 21:52:31 +0200 Subject: [PATCH] Allow PHP 8 in composer.json, run in CI --- .travis.yml | 2 ++ composer.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9d07c78..e9378c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ php: - 7.2 - 7.3 - 7.4 + - nightly before_install: - phpenv config-rm xdebug.ini || true @@ -42,3 +43,4 @@ jobs: env: DEPS="dev" - php: 7.4 env: DEPS="dev" + - php: 8.0 diff --git a/composer.json b/composer.json index 1bc0616..4b2db45 100755 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "sort-packages": true }, "require": { - "php": "^7.1.3", + "php": "^7.1.3 || ^8.0", "ext-simplexml": "*", "composer/semver": "^1.4 || ^2.0 || ^3.0", "composer/package-versions-deprecated": "^1.10",