mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
fix(SetupChecks): Add reasoning/clarity to outdated PHP check
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
This commit is contained in:
parent
b0429e7ef4
commit
45da3915c0
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class PhpOutdated implements ISetupCheck {
|
|||
|
||||
public function run(): SetupResult {
|
||||
if (PHP_VERSION_ID < 80200) {
|
||||
return SetupResult::warning($this->l10n->t('You are currently running PHP %s. PHP 8.1 is now deprecated in Nextcloud 30. Nextcloud 31 may require at least PHP 8.2. Please upgrade to one of the officially supported PHP versions provided by the PHP Group as soon as possible.', [PHP_VERSION]), 'https://secure.php.net/supported-versions.php');
|
||||
return SetupResult::warning($this->l10n->t('PHP %s detected. PHP >= 8.2 and <= 8.3 is suggested for optimal performance, security, and stability with this version of Nextcloud. Additionally, the next major release of Nextcloud will likely require >= PHP 8.2.', [PHP_VERSION]), 'https://secure.php.net/supported-versions.php');
|
||||
}
|
||||
return SetupResult::success($this->l10n->t('You are currently running PHP %s.', [PHP_VERSION]));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue