From cd2c10f9f71409df24fc74c1bbd7d5ddbf48d991 Mon Sep 17 00:00:00 2001 From: wn_ Date: Mon, 9 Dec 2024 17:53:20 +0000 Subject: [PATCH] Bump the minimum required PHP version to 8.2.0. Discussion: https://gitlab.tt-rss.org/tt-rss/tt-rss/-/merge_requests/85 --- classes/Config.php | 4 ++-- 1 file 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")) {