Bump the minimum required PHP version to 8.2.0.

Discussion: https://gitlab.tt-rss.org/tt-rss/tt-rss/-/merge_requests/85
This commit is contained in:
wn_ 2024-12-09 17:53:20 +00:00
parent 096f803f2f
commit cd2c10f9f7

View File

@ -522,8 +522,8 @@ class Config {
array_push($errors, "Please don't run this script as root.");
}
if (version_compare(PHP_VERSION, '8.0.0', '<')) {
array_push($errors, "PHP version 8.0.0 or newer required. You're using " . PHP_VERSION . ".");
if (version_compare(PHP_VERSION, '8.2.0', '<')) {
array_push($errors, "PHP version 8.2.0 or newer required. You're using " . PHP_VERSION . ".");
}
if (!class_exists("UConverter")) {