From f0a206c0cc964fdb2759dd3eb308789531853bf4 Mon Sep 17 00:00:00 2001 From: "Robert J. Lang" Date: Fri, 2 May 2025 07:32:49 -0700 Subject: [PATCH] Issue #88: Fix version comparison to handle any bugfix version of 7.4.x. --- coder_upgrade.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coder_upgrade.install b/coder_upgrade.install index ea9c76a..6f7d97e 100644 --- a/coder_upgrade.install +++ b/coder_upgrade.install @@ -101,7 +101,7 @@ function coder_upgrade_requirements($phase) { // Add a requirement for a maximum PHP version of 7.4. This is intended as an // interim mitigation for Issue #87. // @see https://github.com/backdrop-contrib/coder_upgrade/issues/87 - if (!version_compare(phpversion(), '7.4.33', '<=')) { + if (!version_compare(phpversion(), '7.5.0', '<')) { $requirements['coder_upgrade_php_version'] = array( 'title' => $t('Coder Upgrade PHP Version'), 'description' => $t('Coder Upgrade will currently break functions that use parameters passed by reference if the PHP version is greater than 7.4.'),