From ef47a6ebc1b7f37452b3fa993f12f1b913298247 Mon Sep 17 00:00:00 2001 From: SavvyPro <56563860+SavvyProSolutions@users.noreply.github.com> Date: Thu, 18 Feb 2021 18:11:24 -0800 Subject: [PATCH] Update composer.json I have the latest version of PHP installed (8.0.1) and after running the composter install command, I received the following error in my PhpStorm terminal window: ===================================================================================== Problem 1 - Root composer.json requires php ^5.6 || ^7 but your php version (8.0.1) does not satisfy that requirement. Problem 2 - filp/whoops is locked to version 2.3.1 and an update of this package was not requested. - filp/whoops 2.3.1 requires php ^5.5.9 || ^7.0 -> your php version (8.0.1) does not satisfy that requirement. ===================================================================================== I simply made the following changes on line 8 of the composer.json file to circumvent the error: "php": "^5.6 || ^7 || ^8.0", I simply appended the "|| ^8.0" and reran the composer install command and it ran with no errors. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index af9b197..514f4ad 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "homepage": "https://github.com/KnowTheCode/UpDevTools", "license": "GPL-2.0+", "require": { - "php": "^5.6 || ^7", + "php": "^5.6 || ^7 || ^8.0", "kint-php/kint": "^1", "filp/whoops": "^2" },