Skip to content

Commit 2aa4d12

Browse files
committed
fix(SetupChecks): Add reasoning/clarity to outdated PHP check
Signed-off-by: Josh Richards <[email protected]>
1 parent b0429e7 commit 2aa4d12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/settings/lib/SetupChecks/PhpOutdated.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function getName(): string {
4747

4848
public function run(): SetupResult {
4949
if (PHP_VERSION_ID < 80200) {
50-
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');
50+
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');
5151
}
5252
return SetupResult::success($this->l10n->t('You are currently running PHP %s.', [PHP_VERSION]));
5353
}

0 commit comments

Comments
 (0)