From 141162e5bcb76f699c2720a8940f527f4ed671dd Mon Sep 17 00:00:00 2001 From: Gayan Date: Thu, 24 Jun 2021 06:47:15 +1000 Subject: [PATCH] Allow PHP 8 support in composer (#50) * Allow PHP 8 support in composer Helps avoid this issue with the composer when running on PHP 8 environments. Pulled the commit off the suggestions from this issue https://github.com/JacobBennett/laravel-HTTP2ServerPush/issues/48 * Run the test suite against PHP 8 --- .travis.yml | 1 + composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c7789b9..68f5e09 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ php: - 7.2 - 7.3 - 7.4 + - 8.0 env: matrix: diff --git a/composer.json b/composer.json index a3c35c8..75de367 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ } ], "require": { - "php" : "^7.2", + "php" : "^7.0|^8.0", "illuminate/support": "~6.0|~7.0|~8.0", "illuminate/http": "~6.0|~7.0|~8.0", "symfony/dom-crawler": "^2.7|^3.0|^4.0|^5.0",