From d5651869d66b5677fc3d1b18b2f31f5ae477f831 Mon Sep 17 00:00:00 2001 From: MDW Date: Tue, 5 Dec 2023 14:14:46 +0100 Subject: [PATCH] QUAL Ignore some phan annotations --- htdocs/adherents/class/adherent.class.php | 1 + htdocs/admin/mails_emailing.php | 1 + 2 files changed, 2 insertions(+) diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php index 6a86ba3018ddf..c73a9b8ef5f49 100644 --- a/htdocs/adherents/class/adherent.class.php +++ b/htdocs/adherents/class/adherent.class.php @@ -1827,6 +1827,7 @@ public function subscriptionComplementaryActions($subscriptionid, $option, $acco $vattouse = get_default_tva($mysoc, $mysoc, $idprodsubscription); } //print xx".$vattouse." - ".$mysoc." - ".$customer;exit; + // @phan-suppress-next-line PhanPluginSuspiciousParamOrder $result = $invoice->addline($label, 0, 1, $vattouse, 0, 0, $idprodsubscription, 0, $datesubscription, '', 0, 0, '', 'TTC', $amount, 1); if ($result <= 0) { $this->error = $invoice->error; diff --git a/htdocs/admin/mails_emailing.php b/htdocs/admin/mails_emailing.php index dbb6ad27d61d1..1ebbeadc32904 100644 --- a/htdocs/admin/mails_emailing.php +++ b/htdocs/admin/mails_emailing.php @@ -450,6 +450,7 @@ function change_smtp_auth_method() { // SuperAdministrator access only if (!isModEnabled('multicompany') || ($user->admin && !$user->entity)) { + // @phan-suppress-next-line PhanPluginSuspiciousParamOrder print $form->selectarray('MAIN_MAIL_SMTPS_OAUTH_SERVICE_EMAILING', $oauthservices, $conf->global->MAIN_MAIL_SMTPS_OAUTH_SERVICE_EMAILING); } else { $text = $oauthservices[getDolGlobalString('MAIN_MAIL_SMTPS_OAUTH_SERVICE_EMAILING')];