From 81f5d3e9d2c27b74108a9a0d26f37b59f967d8c9 Mon Sep 17 00:00:00 2001 From: Anatoly Pashin Date: Wed, 10 Feb 2021 12:13:29 +1000 Subject: [PATCH 1/2] Php 8 --- .travis.yml | 7 ++----- composer.json | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index ff08221..4530004 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,8 @@ php: - 7.1 - 7.2 - 7.3 - - 7.4snapshot - # php8 is not supported yet - #- nightly + - 7.4 + - 8.0 env: matrix: @@ -17,8 +16,6 @@ env: matrix: fast_finish: true - allow_failures: - - php: 7.4snapshot install: - if [[ "$DEPENDENCIES" = 'high' ]]; then travis_retry composer update $DEFAULT_COMPOSER_FLAGS; fi diff --git a/composer.json b/composer.json index ebd69db..2e746fb 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "minimum-stability": "stable", "require": { - "php": "^7.1" + "php": ">=7.1" }, "autoload": { "psr-4": { From 61529f9683bae0b395a30821aa05452f2507a1eb Mon Sep 17 00:00:00 2001 From: Anatoly Pashin Date: Wed, 10 Feb 2021 12:19:36 +1000 Subject: [PATCH 2/2] Bump phpunit min version --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 2e746fb..6e89697 100644 --- a/composer.json +++ b/composer.json @@ -28,6 +28,6 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^2.15", - "phpunit/phpunit": "^7.5 | ^8.2" + "phpunit/phpunit": "^7.5.20 | ^8.2" } }