aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/SetupChecks/PhpOutdated.php
diff options
context:
space:
mode:
authorJosh Richards <josh.t.richards@gmail.com>2024-05-10 16:05:43 -0400
committerJosh Richards <josh.t.richards@gmail.com>2024-05-12 11:13:06 -0400
commit45da3915c0e65a17a4d076b69dcbde4c799b0f28 (patch)
treea63a402879fb120de8d19a9493931e9686b41cfc /apps/settings/lib/SetupChecks/PhpOutdated.php
parentb0429e7ef48b261f91786f3d0b011e57c8736ac1 (diff)
downloadnextcloud-server-check-phpoutdated.tar.gz
nextcloud-server-check-phpoutdated.zip
fix(SetupChecks): Add reasoning/clarity to outdated PHP checkcheck-phpoutdated
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
Diffstat (limited to 'apps/settings/lib/SetupChecks/PhpOutdated.php')
-rw-r--r--apps/settings/lib/SetupChecks/PhpOutdated.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/SetupChecks/PhpOutdated.php b/apps/settings/lib/SetupChecks/PhpOutdated.php
index 79e3abdd7ea..b0709b84af7 100644
--- a/apps/settings/lib/SetupChecks/PhpOutdated.php
+++ b/apps/settings/lib/SetupChecks/PhpOutdated.php
@@ -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]));
}