summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorwn_ <invalid@email.com>2024-12-09 17:53:20 +0000
committerwn_ <invalid@email.com>2024-12-09 17:53:23 +0000
commitcd2c10f9f71409df24fc74c1bbd7d5ddbf48d991 (patch)
treef4d6310842c61b33a6379d42d9bc9fedd188122c /classes
parent096f803f2f86db3a40156c9d166781738f01ff15 (diff)
Bump the minimum required PHP version to 8.2.0.
Discussion: https://gitlab.tt-rss.org/tt-rss/tt-rss/-/merge_requests/85
Diffstat (limited to 'classes')
-rw-r--r--classes/Config.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Config.php b/classes/Config.php
index e22808faa..9d671215a 100644
--- a/classes/Config.php
+++ b/classes/Config.php
@@ -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")) {