Added upper limit of PHP for QloApps installation

This commit is contained in:
shreesh arora
2022-04-12 19:24:10 +05:30
parent d15654c820
commit ae74a678e9
3 changed files with 7 additions and 4 deletions

View File

@@ -145,7 +145,10 @@ class ConfigurationTestCore
public static function test_phpversion()
{
return version_compare(substr(phpversion(), 0, 5), '5.6.0', '>=');
return (
version_compare(substr(phpversion(), 0, 5), '5.6.0', '>=')
&& version_compare(substr(phpversion(), 0, 5), '8.0', '<')
);
}
public static function test_new_phpversion()