From 21593488712bef484fb563d86e6e0448da0a7383 Mon Sep 17 00:00:00 2001 From: amit sharma Date: Wed, 2 Sep 2026 15:39:13 +0530 Subject: [PATCH] Fixed: update composer file according to the php version --- classes/ConfigurationTest.php | 4 ++-- composer.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/ConfigurationTest.php b/classes/ConfigurationTest.php index 3413b2111..40229c457 100644 --- a/classes/ConfigurationTest.php +++ b/classes/ConfigurationTest.php @@ -145,14 +145,14 @@ class ConfigurationTestCore public static function test_phpversion() { return ( - version_compare(substr(phpversion(), 0, 5), '8.2.0', '>=') + version_compare(substr(phpversion(), 0, 5), '8.1.0', '>=') && version_compare(substr(phpversion(), 0, 5), '8.6.0', '<') ); } public static function test_new_phpversion() { - return version_compare(substr(phpversion(), 0, 5), '8.2.0', '>='); + return version_compare(substr(phpversion(), 0, 5), '8.1.0', '>='); } public static function test_mysql_support() diff --git a/composer.json b/composer.json index 5cf809aee..dadd7c53f 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ "source": "https://github.com/Qloapps/QloApps" }, "require": { - "php": ">=8.2 <8.6", + "php": ">=8.1 <8.6", "ext-curl": "*", "ext-dom": "*", "ext-gd": "*",