mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-23 23:57:41 +01:00
CheckRequirementsCommand now recommends PHP 8.2
This commit is contained in:
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user