From cd1413a74e82c67dbdf06c09b53b7a5cbdc7b963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 27 May 2023 20:07:03 +0200 Subject: [PATCH] CheckRequirementsCommand now recommends PHP 8.2 --- src/Command/CheckRequirementsCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Command/CheckRequirementsCommand.php b/src/Command/CheckRequirementsCommand.php index 4d9f9d96..60883f81 100644 --- a/src/Command/CheckRequirementsCommand.php +++ b/src/Command/CheckRequirementsCommand.php @@ -70,7 +70,8 @@ class CheckRequirementsCommand extends Command { //Check PHP versions $io->isVerbose() && $io->comment('Checking PHP version...'); - if (PHP_VERSION_ID < 80100) { + //We recommend PHP 8.2, but 8.1 is the minimum + if (PHP_VERSION_ID < 80200) { $io->warning('You are using PHP '. PHP_VERSION .'. This will work, but a newer version is recommended.'); } else { !$only_issues && $io->success('PHP version is sufficient.');