From 8b51ff85fd946340164e6977a1c23842ea6bed74 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Dec 2025 21:58:10 +0100 Subject: [PATCH] Fix CI --- htdocs/core/lib/functions.lib.php | 1 + htdocs/core/lib/price.lib.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index dc781a719ca..3bf8248767c 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -12713,6 +12713,7 @@ function printCommonFooter($zone = 'private') $parameters = array('zone' => $zone); $tmpobject = null; + // @phan-suppress-next-line PhanPluginConstantVariableNull $reshook = $hookmanager->executeHooks('printCommonFooter', $parameters, $tmpobject, $action); // Note that $action and $object may have been modified by some hooks if (empty($reshook)) { if (getDolGlobalString('MAIN_HTML_FOOTER')) { diff --git a/htdocs/core/lib/price.lib.php b/htdocs/core/lib/price.lib.php index 1d39ec0c7a7..3571167be9e 100644 --- a/htdocs/core/lib/price.lib.php +++ b/htdocs/core/lib/price.lib.php @@ -458,7 +458,8 @@ function calcul_price_total($qty, $pu, $remise_percent_ligne, $txtva, $uselocalt // Allow an external module to bypass the calculation of prices $parameters = array('result' => $result); - $tmpobject = null; $tmpaction = ''; + $tmpobject = null; + $tmpaction = ''; // @phan-suppress-next-line PhanPluginConstantVariableNull $reshook = $hookmanager->executeHooks('calcul_price_total', $parameters, $tmpobject, $tmpaction); // @phan-suppress-current-line PhanPluginConstantVariableNull if ($reshook > 0 && !empty($hookmanager->resArray['result'])) {