From dcddfc672a4859a1b30698bf0415bacf866b6db9 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 8 Nov 2024 10:14:56 +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 43539468e3b..9e33f584a9a 100644 --- a/lib/versioncheck.php +++ b/lib/versioncheck.php @@ -13,10 +13,10 @@ if (PHP_VERSION_ID < 80100) { 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); } -- 2.39.5