From b7eb314dea91e37c1ae9fd8aa63d8d0dee2496b3 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 29 Oct 2024 15:23:30 +0100 Subject: [PATCH] feat(PHP): Allow PHP 8.4 Signed-off-by: Joas Schilling --- lib/versioncheck.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/versioncheck.php b/lib/versioncheck.php index 43539468e3b61..9e33f584a9abe 100644 --- a/lib/versioncheck.php +++ b/lib/versioncheck.php @@ -13,10 +13,10 @@ exit(1); } -// Show warning if >= PHP 8.4 is used as Nextcloud is not compatible with >= PHP 8.4 for now -if (PHP_VERSION_ID >= 80400) { +// Show warning if >= PHP 8.5 is used as Nextcloud is not compatible with >= PHP 8.5 for now +if (PHP_VERSION_ID >= 80500) { http_response_code(500); - echo 'This version of Nextcloud is not compatible with PHP>=8.4.
'; + echo 'This version of Nextcloud is not compatible with PHP>=8.5.
'; echo 'You are currently running ' . PHP_VERSION . '.'; exit(1); }