Skip to content

Commit

Permalink
feat(PHP): Allow PHP 8.4
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Oct 29, 2024
1 parent f13a15c commit b7eb314
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/versioncheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.<br/>';
echo 'This version of Nextcloud is not compatible with PHP>=8.5.<br/>';
echo 'You are currently running ' . PHP_VERSION . '.';
exit(1);
}

0 comments on commit b7eb314

Please sign in to comment.