Fix qodana

This commit is contained in:
Laurent Destailleur 2022-12-31 14:54:06 +01:00
parent e523c04ce7
commit 169dcba959
2 changed files with 5 additions and 2 deletions

View File

@ -1203,7 +1203,7 @@ if ($resql) {
$topicmail = "SendOrderRef";
$modelmail = "order_supplier_send";
$objecttmp = new CommandeFournisseur($db);
$objecttmp = new CommandeFournisseur($db); // in case $object is not the good object
$trackid = 'sord'.$object->id;
include DOL_DOCUMENT_ROOT.'/core/tpl/massactions_pre.tpl.php';

View File

@ -68,7 +68,10 @@ exclude:
- name: PhpPropertyOnlyWrittenInspection
- name: PhpCoveredCharacterInClassInspection
- name: PhpSameParameterValueInspection
- name: PhpSillyAssignmentInspection
- name: PhpConditionCheckedByNextConditionInspection
- name: RegExpSingleCharAlternation
- name: RegExpSingleCharAlternation
- name: PhpSuspiciousNameCombinationInspection
- name: PhpWriteAccessToReferencedArrayValueWithoutUnsetInspection