From 76ff453c26754a31d90546a5e6a0341d40fac62d Mon Sep 17 00:00:00 2001 From: Dave Shoreman Date: Sat, 31 Oct 2020 13:41:12 +0000 Subject: [PATCH] Attempt to quiet travis about infection on php<7.4 Also removes the flag from php8 to see what happens. Since we're actually running php8 now, I suspect it *might* work without. Maybe. --- .travis.yml | 8 ++++---- composer.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 122f12c..938d331 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,19 +4,19 @@ matrix: include: - php: 7.2 dist: bionic - env: COMPOSER_OPTS="" + env: COMPOSER_OPTS="--ignore-platform-reqs" - php: 7.3 dist: bionic - env: COMPOSER_OPTS="" + env: COMPOSER_OPTS="--ignore-platform-reqs" - php: 7.4 dist: bionic env: COMPOSER_OPTS="" - php: nightly dist: bionic - env: COMPOSER_OPTS="--ignore-platform-reqs" + env: COMPOSER_OPTS="" allow_failures: - php: nightly - env: COMPOSER_OPTS="--ignore-platform-reqs" + env: COMPOSER_OPTS="" cache: directories: diff --git a/composer.json b/composer.json index b93f517..cfdea9d 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ }, "minimum-stability": "stable", "require": { - "php": ">=7.2", + "php": "^7.2 || ^8.0", "ext-json": "*" }, "extra": {