diff --git a/dev/build/phpstan/phpstan-baseline.neon b/dev/build/phpstan/phpstan-baseline.neon index a87c7858bba..164ae2a6aa0 100644 --- a/dev/build/phpstan/phpstan-baseline.neon +++ b/dev/build/phpstan/phpstan-baseline.neon @@ -96,18 +96,6 @@ parameters: count: 1 path: ../../../htdocs/accountancy/admin/productaccount.php - - - message: '#^Variable \$defaultvalue in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 6 - path: ../../../htdocs/accountancy/admin/productaccount.php - - - - message: '#^Variable \$toselect in empty\(\) always exists and is not falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/admin/productaccount.php - - message: '#^If condition is always true\.$#' identifier: if.alwaysTrue @@ -132,12 +120,6 @@ parameters: count: 3 path: ../../../htdocs/accountancy/admin/subaccount.php - - - message: '#^Variable \$contextpage in empty\(\) always exists and is not falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/admin/subaccount.php - - message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#' identifier: greater.alwaysFalse @@ -180,24 +162,6 @@ parameters: count: 1 path: ../../../htdocs/accountancy/bookkeeping/export.php - - - message: '#^Variable \$contextpage in empty\(\) always exists and is not falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/bookkeeping/list.php - - - - message: '#^Variable \$documentlink might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/accountancy/bookkeeping/list.php - - - - message: '#^Variable \$contextpage in empty\(\) always exists and is not falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/bookkeeping/listbyaccount.php - - message: '#^Property AccountancyCategory\:\:\$active \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -288,54 +252,6 @@ parameters: count: 1 path: ../../../htdocs/accountancy/class/accountancyexport.class.php - - - message: '#^Variable \$archiveFullName in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/class/accountancyexport.class.php - - - - message: '#^Variable \$archivePath in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/class/accountancyexport.class.php - - - - message: '#^Variable \$completefilename in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/class/accountancyexport.class.php - - - - message: '#^Variable \$downloadFileFullName in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/class/accountancyexport.class.php - - - - message: '#^Variable \$downloadFileMimeType in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/class/accountancyexport.class.php - - - - message: '#^Variable \$downloadFilePath in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/class/accountancyexport.class.php - - - - message: '#^Variable \$exportFileFullName in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/class/accountancyexport.class.php - - - - message: '#^Variable \$exportFilePath in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/accountancy/class/accountancyexport.class.php - - message: '#^Variable \$invoice might not be defined\.$#' identifier: variable.undefined @@ -846,12 +762,6 @@ parameters: count: 1 path: ../../../htdocs/adherents/class/adherent.class.php - - - message: '#^Variable \$newlang in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/adherents/class/adherent.class.php - - message: '#^Call to function method_exists\(\) with \$this\(AdherentType\) and ''getLibStatut'' will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -1020,12 +930,6 @@ parameters: count: 2 path: ../../../htdocs/admin/agenda.php - - - message: '#^Variable \$errorsaved in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/admin/bank.php - - message: '#^Call to function is_object\(\) with ModeleBoxes will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -1188,12 +1092,6 @@ parameters: count: 2 path: ../../../htdocs/admin/hrm.php - - - message: '#^Offset ''css'' on array\{type\: ''integer''\|''varchar'', enabled\: 1, css\: ''''\} in empty\(\) always exists and is always falsy\.$#' - identifier: empty.offset - count: 1 - path: ../../../htdocs/admin/hrm.php - - message: '#^Variable \$arrayofparameters in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -1224,24 +1122,12 @@ parameters: count: 1 path: ../../../htdocs/admin/index.php - - - message: '#^Offset ''includedocgeneration'' on array\{label\: ''KnowledgeManagement'', includerefgeneration\: 1, includedocgeneration\: 0, class\: ''KnowledgeRecord''\} in empty\(\) always exists and is always falsy\.$#' - identifier: empty.offset - count: 1 - path: ../../../htdocs/admin/knowledgemanagement.php - - message: '#^Offset ''includerefgeneration'' on array\{label\: ''KnowledgeManagement'', includerefgeneration\: 1, includedocgeneration\: 0, class\: ''KnowledgeRecord''\} in empty\(\) always exists and is not falsy\.$#' identifier: empty.offset count: 1 path: ../../../htdocs/admin/knowledgemanagement.php - - - message: '#^Variable \$arrayofparameters in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/admin/knowledgemanagement.php - - message: '#^Variable \$setupnotempty in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -1560,12 +1446,6 @@ parameters: count: 1 path: ../../../htdocs/admin/system/dolibarr.php - - - message: '#^Variable \$ignore in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/admin/system/dolibarr.php - - message: '#^Call to function is_array\(\) with non\-empty\-list\ will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -1680,12 +1560,6 @@ parameters: count: 1 path: ../../../htdocs/admin/tools/export.php - - - message: '#^Variable \$MemoryLimit in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/admin/tools/export.php - - message: '#^Variable \$massaction might not be defined\.$#' identifier: variable.undefined @@ -1752,12 +1626,6 @@ parameters: count: 1 path: ../../../htdocs/admin/tools/ui/class/documentation.class.php - - - message: '#^Variable \$massactionbutton in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/admin/translation.php - - message: '#^Ternary operator condition is always false\.$#' identifier: ternary.alwaysFalse @@ -1854,12 +1722,6 @@ parameters: count: 2 path: ../../../htdocs/api/class/api_documents.class.php - - - message: '#^Variable \$disablevirusscan in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/api/class/api_documents.class.php - - message: '#^Variable \$modulepart in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -1878,12 +1740,6 @@ parameters: count: 2 path: ../../../htdocs/api/class/api_setup.class.php - - - message: '#^Method Setup\:\:getModules\(\) should return array\ but returns object\.$#' - identifier: return.type - count: 1 - path: ../../../htdocs/api/class/api_setup.class.php - - message: '#^Result of && is always false\.$#' identifier: booleanAnd.alwaysFalse @@ -2016,12 +1872,6 @@ parameters: count: 1 path: ../../../htdocs/asset/class/asset.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/asset/class/asset.class.php - - message: '#^Call to function is_callable\(\) with array\{\$this\(AssetDepreciationOptions\), ''validateField''\} will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -2076,12 +1926,6 @@ parameters: count: 1 path: ../../../htdocs/asset/class/assetmodel.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/asset/class/assetmodel.class.php - - message: '#^Variable \$lines in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -2694,12 +2538,6 @@ parameters: count: 1 path: ../../../htdocs/bookcal/class/availabilities.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/bookcal/class/availabilities.class.php - - message: '#^Variable \$url in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -2784,12 +2622,6 @@ parameters: count: 1 path: ../../../htdocs/bookcal/class/calendar.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/bookcal/class/calendar.class.php - - message: '#^Variable \$url in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -3006,12 +2838,6 @@ parameters: count: 1 path: ../../../htdocs/comm/action/class/cactioncomm.class.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/comm/action/document.php - - message: '#^Call to function is_array\(\) with array\ will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -3060,12 +2886,6 @@ parameters: count: 1 path: ../../../htdocs/comm/action/index.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/comm/action/info.php - - message: '#^Variable \$socid might not be defined\.$#' identifier: variable.undefined @@ -3444,12 +3264,6 @@ parameters: count: 1 path: ../../../htdocs/comm/mailing/targetemailing.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/comm/propal/agenda.php - - message: '#^Left side of && is always true\.$#' identifier: booleanAnd.leftAlwaysTrue @@ -3582,12 +3396,6 @@ parameters: count: 1 path: ../../../htdocs/comm/propal/class/propal.class.php - - - message: '#^Variable \$error in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/comm/propal/class/propal.class.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue @@ -3606,18 +3414,6 @@ parameters: count: 1 path: ../../../htdocs/comm/propal/class/propaleligne.class.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/comm/propal/contact.php - - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/comm/propal/document.php - - message: '#^Result of && is always false\.$#' identifier: booleanAnd.alwaysFalse @@ -3642,24 +3438,12 @@ parameters: count: 1 path: ../../../htdocs/comm/propal/list.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/comm/propal/note.php - - message: '#^Variable \$object might not be defined\.$#' identifier: variable.undefined count: 1 path: ../../../htdocs/comm/propal/tpl/linkedobjectblock.tpl.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/commande/agenda.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue @@ -3786,36 +3570,18 @@ parameters: count: 2 path: ../../../htdocs/commande/class/commande.class.php - - - message: '#^Variable \$error in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 2 - path: ../../../htdocs/commande/class/commande.class.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue count: 2 path: ../../../htdocs/commande/class/orderline.class.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/commande/contact.php - - message: '#^Variable \$socid might not be defined\.$#' identifier: variable.undefined count: 1 path: ../../../htdocs/commande/customer.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/commande/document.php - - message: '#^Call to function method_exists\(\) with Commande and ''fetch_lines'' will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -3876,12 +3642,6 @@ parameters: count: 3 path: ../../../htdocs/commande/list_det.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/commande/note.php - - message: '#^Variable \$object might not be defined\.$#' identifier: variable.undefined @@ -3906,12 +3666,6 @@ parameters: count: 1 path: ../../../htdocs/compta/accounting-files.php - - - message: '#^Variable \$sql in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/compta/accounting-files.php - - message: '#^Variable \$ve might not be defined\.$#' identifier: variable.undefined @@ -3960,18 +3714,6 @@ parameters: count: 1 path: ../../../htdocs/compta/bank/bankentries_list.php - - - message: '#^Variable \$noback in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/compta/bank/card.php - - - - message: '#^Variable \$selectedcode in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/compta/bank/card.php - - message: '#^Variable \$title might not be defined\.$#' identifier: variable.undefined @@ -4332,18 +4074,6 @@ parameters: count: 1 path: ../../../htdocs/compta/deplacement/stats/index.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/compta/facture/agenda-rec.php - - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/compta/facture/agenda.php - - message: '#^Loose comparison using \=\= between 0 and 0 will always evaluate to true\.$#' identifier: equal.alwaysTrue @@ -4614,12 +4344,6 @@ parameters: count: 3 path: ../../../htdocs/compta/facture/class/facture.class.php - - - message: '#^Variable \$newlang in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/compta/facture/class/facture.class.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue @@ -4686,18 +4410,6 @@ parameters: count: 4 path: ../../../htdocs/compta/facture/class/paymentterm.class.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/compta/facture/contact.php - - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/compta/facture/document.php - - message: '#^Variable \$contextpage in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -4728,30 +4440,6 @@ parameters: count: 2 path: ../../../htdocs/compta/facture/list.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/compta/facture/messaging.php - - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/compta/facture/note-rec.php - - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/compta/facture/note.php - - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/compta/facture/prelevement.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue @@ -5100,12 +4788,6 @@ parameters: count: 4 path: ../../../htdocs/compta/paiement/class/cpaiement.class.php - - - message: '#^Variable \$newlang in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/compta/paiement/class/paiement.class.php - - message: '#^Variable \$object might not be defined\.$#' identifier: variable.undefined @@ -6078,12 +5760,6 @@ parameters: count: 1 path: ../../../htdocs/contact/consumption.php - - - message: '#^Variable \$newlang in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/contact/consumption.php - - message: '#^If condition is always false\.$#' identifier: if.alwaysFalse @@ -6126,24 +5802,12 @@ parameters: count: 1 path: ../../../htdocs/contact/list.php - - - message: '#^Variable \$ref in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/contact/list.php - - message: '#^If condition is always true\.$#' identifier: if.alwaysTrue count: 1 path: ../../../htdocs/contact/perso.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/contrat/agenda.php - - message: '#^Variable \$contextpage in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -6168,12 +5832,6 @@ parameters: count: 1 path: ../../../htdocs/contrat/card.php - - - message: '#^Variable \$senderissupplier in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/contrat/card.php - - message: '#^Variable \$tmpcode might not be defined\.$#' identifier: variable.undefined @@ -6288,24 +5946,12 @@ parameters: count: 1 path: ../../../htdocs/contrat/class/contratligne.class.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/contrat/contact.php - - message: '#^Variable \$mesg might not be defined\.$#' identifier: variable.undefined count: 1 path: ../../../htdocs/contrat/contact.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/contrat/document.php - - message: '#^Variable \$badgeStatus0 might not be defined\.$#' identifier: variable.undefined @@ -6342,24 +5988,12 @@ parameters: count: 1 path: ../../../htdocs/contrat/list.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/contrat/messaging.php - - message: '#^Variable \$contextpage in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable count: 1 path: ../../../htdocs/contrat/messaging.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/contrat/note.php - - message: '#^Loose comparison using \=\= between '''' and \-1 will always evaluate to false\.$#' identifier: equal.alwaysFalse @@ -6372,12 +6006,6 @@ parameters: count: 6 path: ../../../htdocs/contrat/services_list.php - - - message: '#^Variable \$filter_opcloture in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 3 - path: ../../../htdocs/contrat/services_list.php - - message: '#^Property Ticket\:\:\$progress \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -6702,12 +6330,6 @@ parameters: count: 1 path: ../../../htdocs/core/ajax/locationincoterms.php - - - message: '#^Call to function is_array\(\) with list\ will always evaluate to true\.$#' - identifier: function.alreadyNarrowedType - count: 1 - path: ../../../htdocs/core/ajax/mailtemplate.php - - message: '#^Call to function is_numeric\(\) with int will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -7482,12 +7104,6 @@ parameters: count: 1 path: ../../../htdocs/core/class/commonobject.class.php - - - message: '#^Expression in empty\(\) is always falsy\.$#' - identifier: empty.expr - count: 1 - path: ../../../htdocs/core/class/commonobject.class.php - - message: '#^If condition is always false\.$#' identifier: if.alwaysFalse @@ -7596,12 +7212,6 @@ parameters: count: 1 path: ../../../htdocs/core/class/commonobject.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 9 - path: ../../../htdocs/core/class/commonobject.class.php - - message: '#^Property CommonObject\:\:\$lines \(array\\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -7611,7 +7221,7 @@ parameters: - message: '#^Result of && is always false\.$#' identifier: booleanAnd.alwaysFalse - count: 2 + count: 1 path: ../../../htdocs/core/class/commonobject.class.php - @@ -7638,18 +7248,6 @@ parameters: count: 1 path: ../../../htdocs/core/class/commonobject.class.php - - - message: '#^Variable \$minSize in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/class/commonobject.class.php - - - - message: '#^Variable \$newlang in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/class/commonobject.class.php - - message: '#^Variable \$validationClass in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -8088,12 +7686,6 @@ parameters: count: 1 path: ../../../htdocs/core/class/dolgraph.class.php - - - message: '#^Variable \$legendMaxLines in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 2 - path: ../../../htdocs/core/class/dolgraph.class.php - - message: '#^Call to function is_array\(\) with array\ will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -8532,12 +8124,6 @@ parameters: count: 3 path: ../../../htdocs/core/class/html.formticket.class.php - - - message: '#^Variable \$newlang in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 2 - path: ../../../htdocs/core/class/html.formticket.class.php - - message: '#^Call to function is_object\(\) with mixed will always evaluate to false\.$#' identifier: function.impossibleType @@ -8718,12 +8304,6 @@ parameters: count: 1 path: ../../../htdocs/core/class/menubase.class.php - - - message: '#^Variable \$menutopid in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/class/menubase.class.php - - message: '#^Method Notify\:\:getNotificationsArray\(\) has parameter \$scope with no value type specified in iterable type array\.$#' identifier: missingType.iterableValue @@ -8850,12 +8430,6 @@ parameters: count: 1 path: ../../../htdocs/core/class/timespent.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/core/class/timespent.class.php - - message: '#^Variable \$url in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -9060,12 +8634,6 @@ parameters: count: 1 path: ../../../htdocs/core/db/mysqli.class.php - - - message: '#^Variable \$disableforcecharset in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 2 - path: ../../../htdocs/core/db/mysqli.class.php - - message: '#^Constructor of class DoliDBPgsql has an unused parameter \$type\.$#' identifier: constructor.unusedParameter @@ -9252,12 +8820,6 @@ parameters: count: 1 path: ../../../htdocs/core/lib/company.lib.php - - - message: '#^Variable \$sql in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/company.lib.php - - message: '#^Left side of && is always true\.$#' identifier: booleanAnd.leftAlwaysTrue @@ -9504,18 +9066,6 @@ parameters: count: 3 path: ../../../htdocs/core/lib/invoice.lib.php - - - message: '#^Variable \$sqlwhere in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/invoice2.lib.php - - - - message: '#^Variable \$array in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/json.lib.php - - message: '#^Call to function array_key_exists\(\) with ''code'' and array\{rowid\: array\{type\: ''integer'', value\: 11, extra\: ''AUTO_INCREMENT''\}, code\: array\{type\: ''varchar'', value\: 255, null\: ''NOT NULL''\}, label\: array\{type\: ''varchar'', value\: 255, null\: ''NOT NULL''\}, position\: array\{type\: ''integer'', value\: 11, null\: ''NULL''\}, use_default\: array\{type\: ''varchar'', value\: 11, default\: ''1''\}, active\: array\{type\: ''integer'', value\: 3\}\} will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -9600,18 +9150,6 @@ parameters: count: 1 path: ../../../htdocs/core/lib/security.lib.php - - - message: '#^Variable \$login in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/security2.lib.php - - - - message: '#^Variable \$newlang in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/sendings.lib.php - - message: '#^Variable \$out in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -9624,84 +9162,6 @@ parameters: count: 6 path: ../../../htdocs/core/lib/tax.lib.php - - - message: '#^Variable \$butactionbg in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/usergroups.lib.php - - - - message: '#^Variable \$colorbackhmenu1 in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/usergroups.lib.php - - - - message: '#^Variable \$colorbacklineimpair1 in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/usergroups.lib.php - - - - message: '#^Variable \$colorbacklinepair1 in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/usergroups.lib.php - - - - message: '#^Variable \$colorbacklinepairchecked in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/usergroups.lib.php - - - - message: '#^Variable \$colorbacklinepairhover in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/usergroups.lib.php - - - - message: '#^Variable \$colorbacktitle1 in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/usergroups.lib.php - - - - message: '#^Variable \$colorbackvmenu1 in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/usergroups.lib.php - - - - message: '#^Variable \$colortextlink in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/usergroups.lib.php - - - - message: '#^Variable \$colortexttitle in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/usergroups.lib.php - - - - message: '#^Variable \$colortexttitlelink in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/usergroups.lib.php - - - - message: '#^Variable \$colortexttitlenotab in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/usergroups.lib.php - - - - message: '#^Variable \$textbutaction in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/lib/usergroups.lib.php - - message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -9870,12 +9330,6 @@ parameters: count: 2 path: ../../../htdocs/core/menus/standard/empty.php - - - message: '#^Variable \$noout in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 3 - path: ../../../htdocs/core/menus/standard/empty.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue @@ -10206,12 +9660,6 @@ parameters: count: 5 path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - message: '#^Variable \$hidetop in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 3 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -11502,12 +10950,6 @@ parameters: count: 1 path: ../../../htdocs/core/tpl/card_presend.tpl.php - - - message: '#^Variable \$newlang in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/core/tpl/card_presend.tpl.php - - message: '#^Variable \$user might not be defined\.$#' identifier: variable.undefined @@ -11607,7 +11049,7 @@ parameters: - message: '#^Variable \$obj might not be defined\.$#' identifier: variable.undefined - count: 3 + count: 1 path: ../../../htdocs/core/tpl/extrafields_list_print_fields.tpl.php - @@ -12090,12 +11532,6 @@ parameters: count: 1 path: ../../../htdocs/debugbar/class/autoloader.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/delivery/card.php - - message: '#^Variable \$hidedesc might not be defined\.$#' identifier: variable.undefined @@ -12576,12 +12012,6 @@ parameters: count: 1 path: ../../../htdocs/eventorganization/class/conferenceorbooth.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/eventorganization/class/conferenceorbooth.class.php - - message: '#^Property ConferenceOrBooth\:\:\$status \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -12630,12 +12060,6 @@ parameters: count: 1 path: ../../../htdocs/eventorganization/class/conferenceorboothattendee.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/eventorganization/class/conferenceorboothattendee.class.php - - message: '#^Property ConferenceOrBoothAttendee\:\:\$lastname \(string\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -12834,12 +12258,6 @@ parameters: count: 3 path: ../../../htdocs/eventorganization/core/actions_massactions_mail.inc.php - - - message: '#^Variable \$listofobjectref in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/eventorganization/core/actions_massactions_mail.inc.php - - message: '#^Variable \$object might not be defined\.$#' identifier: variable.undefined @@ -12864,12 +12282,6 @@ parameters: count: 1 path: ../../../htdocs/eventorganization/tpl/linkedobjectblock.tpl.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/expedition/card.php - - message: '#^If condition is always true\.$#' identifier: if.alwaysTrue @@ -13092,12 +12504,6 @@ parameters: count: 1 path: ../../../htdocs/expedition/class/expeditionlinebatch.class.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/expedition/contact.php - - message: '#^Variable \$mesgs might not be defined\.$#' identifier: variable.undefined @@ -13110,12 +12516,6 @@ parameters: count: 8 path: ../../../htdocs/expedition/contact.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/expedition/dispatch.php - - message: '#^Loose comparison using \=\= between ''commande''\|null and ''propal'' will always evaluate to false\.$#' identifier: equal.alwaysFalse @@ -13134,12 +12534,6 @@ parameters: count: 3 path: ../../../htdocs/expedition/dispatch.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/expedition/document.php - - message: '#^Variable \$objectsrc might not be defined\.$#' identifier: variable.undefined @@ -13176,36 +12570,18 @@ parameters: count: 1 path: ../../../htdocs/expedition/list.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/expedition/note.php - - message: '#^Variable \$objectsrc might not be defined\.$#' identifier: variable.undefined count: 2 path: ../../../htdocs/expedition/note.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/expedition/shipment.php - - message: '#^If condition is always true\.$#' identifier: if.alwaysTrue count: 1 path: ../../../htdocs/expedition/shipment.php - - - message: '#^Variable \$newlang in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/expedition/shipment.php - - message: '#^Variable \$objectsrc might not be defined\.$#' identifier: variable.undefined @@ -13500,12 +12876,6 @@ parameters: count: 1 path: ../../../htdocs/externalsite/frames.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/fichinter/agenda.php - - message: '#^If condition is always true\.$#' identifier: if.alwaysTrue @@ -13563,7 +12933,7 @@ parameters: - message: '#^Variable \$line might not be defined\.$#' identifier: variable.undefined - count: 4 + count: 2 path: ../../../htdocs/fichinter/card.php - @@ -14058,12 +13428,6 @@ parameters: count: 2 path: ../../../htdocs/fourn/class/fournisseur.facture.class.php - - - message: '#^Variable \$newlang in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/fourn/class/fournisseur.facture.class.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue @@ -14130,12 +13494,6 @@ parameters: count: 1 path: ../../../htdocs/fourn/class/paiementfourn.class.php - - - message: '#^Variable \$newlang in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/fourn/class/paiementfourn.class.php - - message: '#^Left side of && is always true\.$#' identifier: booleanAnd.leftAlwaysTrue @@ -14178,18 +13536,6 @@ parameters: count: 1 path: ../../../htdocs/fourn/commande/card.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/fourn/commande/contact.php - - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/fourn/commande/dispatch.php - - message: '#^Right side of && is always false\.$#' identifier: booleanAnd.rightAlwaysFalse @@ -14214,24 +13560,12 @@ parameters: count: 2 path: ../../../htdocs/fourn/commande/dispatch.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/fourn/commande/document.php - - message: '#^Loose comparison using \=\= between 0\|1\|2\|3\|4\|5\|9 and 7 will always evaluate to false\.$#' identifier: equal.alwaysFalse count: 1 path: ../../../htdocs/fourn/commande/index.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/fourn/commande/info.php - - message: '#^Call to function method_exists\(\) with CommandeFournisseur and ''fetch_lines'' will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -14250,12 +13584,6 @@ parameters: count: 1 path: ../../../htdocs/fourn/commande/list.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/fourn/commande/note.php - - message: '#^Variable \$object might not be defined\.$#' identifier: variable.undefined @@ -14268,12 +13596,6 @@ parameters: count: 4 path: ../../../htdocs/fourn/contact.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/fourn/facture/agenda.php - - message: '#^Variable \$maxlength might not be defined\.$#' identifier: variable.undefined @@ -14298,12 +13620,6 @@ parameters: count: 1 path: ../../../htdocs/fourn/facture/card.php - - - message: '#^Variable \$backtopageforcancel in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/fourn/facture/card.php - - message: '#^Variable \$classname might not be defined\.$#' identifier: variable.undefined @@ -14316,36 +13632,12 @@ parameters: count: 2 path: ../../../htdocs/fourn/facture/card.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/fourn/facture/contact.php - - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/fourn/facture/document.php - - message: '#^Variable \$upload_dir might not be defined\.$#' identifier: variable.undefined count: 1 path: ../../../htdocs/fourn/facture/document.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/fourn/facture/info.php - - - - message: '#^Variable \$action might not be defined\.$#' - identifier: variable.undefined - count: 2 - path: ../../../htdocs/fourn/facture/info.php - - message: '#^Variable \$contextpage in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -14370,12 +13662,6 @@ parameters: count: 2 path: ../../../htdocs/fourn/facture/list.php - - - message: '#^Offset ''totalam'' on array\{f\.total_ht\: \(float\|int\), f\.total_vat\: \(float\|int\), f\.total_localtax1\: \(float\|int\), f\.total_ttc\: \(float\|int\), totalam\: 0, rtp\: \(float\|int\), f\.total_localtax2\?\: \(array\|float\|int\)\} in empty\(\) always exists and is always falsy\.$#' - identifier: empty.offset - count: 1 - path: ../../../htdocs/fourn/facture/list.php - - message: '#^Ternary operator condition is always false\.$#' identifier: ternary.alwaysFalse @@ -14388,30 +13674,12 @@ parameters: count: 1 path: ../../../htdocs/fourn/facture/list.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/fourn/facture/messaging.php - - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/fourn/facture/note-rec.php - - message: '#^Variable \$title might not be defined\.$#' identifier: variable.undefined count: 2 path: ../../../htdocs/fourn/facture/note-rec.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/fourn/facture/note.php - - message: '#^Call to function is_numeric\(\) with float will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -14718,12 +13986,6 @@ parameters: count: 1 path: ../../../htdocs/hrm/class/evaluation.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/hrm/class/evaluation.class.php - - message: '#^Property Evaluation\:\:\$status \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -14778,12 +14040,6 @@ parameters: count: 1 path: ../../../htdocs/hrm/class/evaluationdet.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/hrm/class/evaluationdet.class.php - - message: '#^Call to function method_exists\(\) with \$this\(Job\) and ''getNomUrl'' will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -14856,12 +14112,6 @@ parameters: count: 1 path: ../../../htdocs/hrm/class/job.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/hrm/class/job.class.php - - message: '#^Call to function method_exists\(\) with \$this\(Position\) and ''getNomUrl'' will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -14934,12 +14184,6 @@ parameters: count: 1 path: ../../../htdocs/hrm/class/position.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/hrm/class/position.class.php - - message: '#^Call to function method_exists\(\) with \$this\(Skill\) and ''getNomUrl'' will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -15012,12 +14256,6 @@ parameters: count: 1 path: ../../../htdocs/hrm/class/skill.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/hrm/class/skill.class.php - - message: '#^Call to function property_exists\(\) with Skilldet and ''date_creation'' will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -15054,12 +14292,6 @@ parameters: count: 1 path: ../../../htdocs/hrm/class/skilldet.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/hrm/class/skilldet.class.php - - message: '#^Call to function property_exists\(\) with SkillRank and ''date_creation'' will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -15108,12 +14340,6 @@ parameters: count: 1 path: ../../../htdocs/hrm/class/skillrank.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/hrm/class/skillrank.class.php - - message: '#^Ternary operator condition is always false\.$#' identifier: ternary.alwaysFalse @@ -15426,12 +14652,6 @@ parameters: count: 1 path: ../../../htdocs/imports/import.php - - - message: '#^Offset ''picto'' on array\{labelkey\: mixed, labelkeyarray\: list\, label\: string, required\: 0\|1, position\: mixed, picto\: ''''\} in empty\(\) always exists and is always falsy\.$#' - identifier: empty.offset - count: 1 - path: ../../../htdocs/imports/import.php - - message: '#^Parameter \#3 \$insertArray of function arrayInsert expects array\{label\?\: string, example1\?\: string, required\?\: bool, imported\?\: bool\|int\<0, 1\>, position\?\: int\}, non\-empty\-array\, position\?\: int\}\> given\.$#' identifier: argument.type @@ -15798,12 +15018,6 @@ parameters: count: 1 path: ../../../htdocs/knowledgemanagement/class/knowledgerecord.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/knowledgemanagement/class/knowledgerecord.class.php - - message: '#^If condition is always false\.$#' identifier: if.alwaysFalse @@ -16218,24 +15432,12 @@ parameters: count: 1 path: ../../../htdocs/modulebuilder/index.php - - - message: '#^Variable \$key might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/modulebuilder/index.php - - message: '#^Variable \$moduleobj might not be defined\.$#' identifier: variable.undefined count: 4 path: ../../../htdocs/modulebuilder/index.php - - - message: '#^Variable \$newmask in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/modulebuilder/index.php - - message: '#^Variable \$object might not be defined\.$#' identifier: variable.undefined @@ -16296,18 +15498,6 @@ parameters: count: 1 path: ../../../htdocs/modulebuilder/template/admin/setup.php - - - message: '#^Offset ''includedocgeneration'' on array\{label\: ''MyObject'', includerefgeneration\: 0, includedocgeneration\: 0, class\: ''MyObject''\} in empty\(\) always exists and is always falsy\.$#' - identifier: empty.offset - count: 1 - path: ../../../htdocs/modulebuilder/template/admin/setup.php - - - - message: '#^Offset ''includerefgeneration'' on array\{label\: ''MyObject'', includerefgeneration\: 0, includedocgeneration\: 0, class\: ''MyObject''\} in empty\(\) always exists and is always falsy\.$#' - identifier: empty.offset - count: 1 - path: ../../../htdocs/modulebuilder/template/admin/setup.php - - message: '#^Path in include\(\) "\.\./\.\./main\.inc\.php" is not a file or it does not exist\.$#' identifier: include.fileNotFound @@ -16374,12 +15564,6 @@ parameters: count: 1 path: ../../../htdocs/modulebuilder/template/class/myobject.class.php - - - message: '#^Call to function property_exists\(\) with \$this\(MyObject\) and ''fk_soc'' will always evaluate to true\.$#' - identifier: function.alreadyNarrowedType - count: 1 - path: ../../../htdocs/modulebuilder/template/class/myobject.class.php - - message: '#^Call to function property_exists\(\) with \$this\(MyObject\) and ''label'' will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -16740,12 +15924,6 @@ parameters: count: 3 path: ../../../htdocs/mrp/class/mo.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/mrp/class/mo.class.php - - message: '#^Property Mo\:\:\$fk_product \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -16788,12 +15966,6 @@ parameters: count: 6 path: ../../../htdocs/mrp/class/mo.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/mrp/class/moline.class.php - - message: '#^If condition is always true\.$#' identifier: if.alwaysTrue @@ -16830,12 +16002,6 @@ parameters: count: 1 path: ../../../htdocs/mrp/index.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/mrp/mo_agenda.php - - message: '#^Variable \$contextpage in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -16854,12 +16020,6 @@ parameters: count: 1 path: ../../../htdocs/mrp/mo_card.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/mrp/mo_document.php - - message: '#^Variable \$upload_dir might not be defined\.$#' identifier: variable.undefined @@ -16884,12 +16044,6 @@ parameters: count: 1 path: ../../../htdocs/mrp/mo_movements.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/mrp/mo_note.php - - message: '#^Call to function is_object\(\) with MoLine will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -16962,12 +16116,6 @@ parameters: count: 1 path: ../../../htdocs/opensurvey/card.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/opensurvey/class/opensurveysondage.class.php - - message: '#^Left side of && is always true\.$#' identifier: booleanAnd.leftAlwaysTrue @@ -16986,12 +16134,6 @@ parameters: count: 1 path: ../../../htdocs/opensurvey/class/opensurveysondage.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/opensurvey/class/opensurveysondage.class.php - - message: '#^Property Opensurveysondage\:\:\$description \(string\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -17130,12 +16272,6 @@ parameters: count: 2 path: ../../../htdocs/partnership/class/partnership.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/partnership/class/partnership.class.php - - message: '#^Property Partnership\:\:\$status \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -17148,24 +16284,12 @@ parameters: count: 1 path: ../../../htdocs/partnership/class/partnership_type.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/partnership/class/partnership_type.class.php - - message: '#^Result of \|\| is always true\.$#' identifier: booleanOr.alwaysTrue count: 2 path: ../../../htdocs/partnership/class/partnership_type.class.php - - - message: '#^Variable \$url in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 2 - path: ../../../htdocs/partnership/class/partnership_type.class.php - - message: '#^Call to function is_array\(\) with array\{\} will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -17706,12 +16830,6 @@ parameters: count: 1 path: ../../../htdocs/product/class/productfournisseurprice.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/product/class/productfournisseurprice.class.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue @@ -17850,12 +16968,6 @@ parameters: count: 1 path: ../../../htdocs/product/inventory/class/inventory.class.php - - - message: '#^Variable \$error in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/product/inventory/inventory.php - - message: '#^Ternary operator condition is always true\.$#' identifier: ternary.alwaysTrue @@ -18540,12 +17652,6 @@ parameters: count: 1 path: ../../../htdocs/product/stock/stocktransfer/class/stocktransfer.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/product/stock/stocktransfer/class/stocktransfer.class.php - - message: '#^Property StockTransfer\:\:\$status \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -18570,12 +17676,6 @@ parameters: count: 1 path: ../../../htdocs/product/stock/stocktransfer/class/stocktransferline.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/product/stock/stocktransfer/class/stocktransferline.class.php - - message: '#^Property CommonObject\:\:\$entity \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -19362,12 +18462,6 @@ parameters: count: 1 path: ../../../htdocs/projet/tasks/list.php - - - message: '#^Offset ''totalizable'' on array\{nbfield\: int\<0, max\>, type\: array\{\}, val\: array\{t\.planned_workload\: \(float\|int\), t\.duration_effective\: \(float\|int\), t\.progress\: \(float\|int\), t\.budget_amount\: \(float\|int\), t\.tobill\?\: \(array\|float\|int\), t\.billed\?\: \(array\|float\|int\)\}, totalplannedworkload\: \(float\|int\), totaldurationeffective\: \(float\|int\), totaldurationdeclared\: \(float\|int\), totaltobillfield\: int\<0, max\>, totalbilledfield\: int\<0, max\>, \.\.\.\} in empty\(\) always exists and is always falsy\.$#' - identifier: empty.offset - count: 1 - path: ../../../htdocs/projet/tasks/list.php - - message: '#^Offset ''totalplannedworkload'' on array\{nbfield\: int\<0, max\>, type\: array\{\}, val\: array\{t\.planned_workload\: \(float\|int\), t\.duration_effective\: \(float\|int\), t\.progress\: \(float\|int\), t\.budget_amount\: \(float\|int\), t\.tobill\?\: \(array\|float\|int\), t\.billed\?\: \(array\|float\|int\)\}, totalplannedworkload\: \(float\|int\), totaldurationeffective\: \(float\|int\), totaldurationdeclared\: \(float\|int\), totaltobillfield\: int\<0, max\>, totalbilledfield\: int\<0, max\>, \.\.\.\} in isset\(\) always exists and is not nullable\.$#' identifier: isset.offset @@ -19566,12 +18660,6 @@ parameters: count: 1 path: ../../../htdocs/public/demo/index.php - - - message: '#^Offset ''lang'' on array\{default\: ''0'', key\: ''profdemoall'', label\: ''ChooseYourDemoProfi…'', disablemodules\: ''adherent,cashdesk…'', icon\: ''//public/demo/demo…'', lang\: ''''\}\|array\{default\: ''0'', key\: ''profdemofun2'', label\: ''DemoFundation2'', disablemodules\: ''barcode,cashdesk…'', icon\: ''//public/demo/demo…'', url\: non\-falsy\-string, lang\: ''''\}\|array\{default\: ''0'', key\: ''profdemoprodstock'', label\: ''DemoCompanyProductA…'', disablemodules\: ''adherent,bom…'', icon\: ''//public/demo/demo…'', url\: non\-falsy\-string, lang\: ''''\}\|array\{default\: ''0'', key\: ''profmanufacture'', label\: ''DemoCompanyManufact…'', disablemodules\: ''adherent,contrat…'', icon\: ''//public/demo/demo…'', url\: non\-falsy\-string, lang\: ''''\}\|array\{default\: ''1'', key\: ''profdemoservonly'', label\: ''DemoCompanyServiceO…'', disablemodules\: ''adherent,barcode…'', icon\: ''//public/demo/demo…'', url\: non\-falsy\-string, lang\: ''''\} in empty\(\) always exists and is always falsy\.$#' - identifier: empty.offset - count: 1 - path: ../../../htdocs/public/demo/index.php - - message: '#^Ternary operator condition is always false\.$#' identifier: ternary.alwaysFalse @@ -19686,12 +18774,6 @@ parameters: count: 2 path: ../../../htdocs/public/fichinter/agendaexport.php - - - message: '#^Variable \$title in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 2 - path: ../../../htdocs/public/fichinter/agendaexport.php - - message: '#^Call to preg_quote\(\) is missing delimiter / to be effective\.$#' identifier: argument.invalidPregQuote @@ -20106,12 +19188,6 @@ parameters: count: 2 path: ../../../htdocs/public/stripe/ipn.php - - - message: '#^Variable \$error in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/public/stripe/ipn.php - - message: '#^Variable \$mc might not be defined\.$#' identifier: variable.undefined @@ -20274,12 +19350,6 @@ parameters: count: 1 path: ../../../htdocs/public/users/view.php - - - message: '#^Variable \$backtopage in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/public/users/view.php - - message: '#^Variable \$dolibarr_main_url_root might not be defined\.$#' identifier: variable.undefined @@ -20334,12 +19404,6 @@ parameters: count: 2 path: ../../../htdocs/public/webportal/tpl/menu.tpl.php - - - message: '#^Variable \$maxTopMenu in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/public/webportal/tpl/menu.tpl.php - - message: '#^Path in include\(\) "\.\./\.\./\.\./\.\./main\.inc\.php" is not a file or it does not exist\.$#' identifier: include.fileNotFound @@ -20424,12 +19488,6 @@ parameters: count: 1 path: ../../../htdocs/public/website/styles.css.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/reception/card.php - - message: '#^If condition is always true\.$#' identifier: if.alwaysTrue @@ -20676,12 +19734,6 @@ parameters: count: 4 path: ../../../htdocs/reception/class/receptionlinebatch.class.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/reception/contact.php - - message: '#^Variable \$mesgs might not be defined\.$#' identifier: variable.undefined @@ -20700,12 +19752,6 @@ parameters: count: 2 path: ../../../htdocs/reception/contact.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/reception/dispatch.php - - message: '#^Loose comparison using \=\= between ''''\|''CommandeFournisseur'' and ''commande'' will always evaluate to false\.$#' identifier: equal.alwaysFalse @@ -20736,12 +19782,6 @@ parameters: count: 1 path: ../../../htdocs/reception/dispatch.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/reception/document.php - - message: '#^Variable \$origin might not be defined\.$#' identifier: variable.undefined @@ -20766,24 +19806,12 @@ parameters: count: 1 path: ../../../htdocs/reception/list.php - - - message: '#^Variable \$moreforfilter in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/reception/list.php - - message: '#^Variable \$type might not be defined\.$#' identifier: variable.undefined count: 1 path: ../../../htdocs/reception/list.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/reception/note.php - - message: '#^Variable \$object might not be defined\.$#' identifier: variable.undefined @@ -20802,12 +19830,6 @@ parameters: count: 2 path: ../../../htdocs/recruitment/admin/setup.php - - - message: '#^Variable \$arrayofparameters in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/recruitment/admin/setup.php - - message: '#^Variable \$res might not be defined\.$#' identifier: variable.undefined @@ -20832,12 +19854,6 @@ parameters: count: 1 path: ../../../htdocs/recruitment/admin/setup_candidatures.php - - - message: '#^Variable \$arrayofparameters in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/recruitment/admin/setup_candidatures.php - - message: '#^Variable \$res might not be defined\.$#' identifier: variable.undefined @@ -20904,12 +19920,6 @@ parameters: count: 1 path: ../../../htdocs/recruitment/class/recruitmentcandidature.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/recruitment/class/recruitmentcandidature.class.php - - message: '#^Property RecruitmentCandidature\:\:\$status \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -20970,12 +19980,6 @@ parameters: count: 1 path: ../../../htdocs/recruitment/class/recruitmentjobposition.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/recruitment/class/recruitmentjobposition.class.php - - message: '#^Property RecruitmentJobPosition\:\:\$status \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -21240,12 +20244,6 @@ parameters: count: 1 path: ../../../htdocs/resource/element_resource.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/resource/element_resource.php - - message: '#^Loose comparison using \=\= between int\<0, max\> and \-1 will always evaluate to false\.$#' identifier: equal.alwaysFalse @@ -21642,12 +20640,6 @@ parameters: count: 2 path: ../../../htdocs/societe/class/api_thirdparties.class.php - - - message: '#^Variable \$newlang in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/societe/class/api_thirdparties.class.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue @@ -21762,12 +20754,6 @@ parameters: count: 1 path: ../../../htdocs/societe/consumption.php - - - message: '#^Variable \$newlang in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/societe/consumption.php - - message: '#^Variable \$sql might not be defined\.$#' identifier: variable.undefined @@ -21948,12 +20934,6 @@ parameters: count: 1 path: ../../../htdocs/stripe/class/stripe.class.php - - - message: '#^Variable \$setupintent in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/stripe/class/stripe.class.php - - message: '#^Variable \$stripeacc in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -21966,12 +20946,6 @@ parameters: count: 2 path: ../../../htdocs/stripe/lib/stripe.lib.php - - - message: '#^Variable \$moreforfilter in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/stripe/payout.php - - message: '#^Comparison operation "\>" between int\<1, max\> and 0 is always true\.$#' identifier: greater.alwaysTrue @@ -22002,12 +20976,6 @@ parameters: count: 1 path: ../../../htdocs/supplier_proposal/card.php - - - message: '#^Variable \$error in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 2 - path: ../../../htdocs/supplier_proposal/card.php - - message: '#^Variable \$fk_account might not be defined\.$#' identifier: variable.undefined @@ -22080,18 +21048,6 @@ parameters: count: 1 path: ../../../htdocs/supplier_proposal/class/supplier_proposal.class.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/supplier_proposal/contact.php - - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/supplier_proposal/document.php - - message: '#^Variable \$badgeStatus0 might not be defined\.$#' identifier: variable.undefined @@ -22122,18 +21078,6 @@ parameters: count: 1 path: ../../../htdocs/supplier_proposal/index.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/supplier_proposal/info.php - - - - message: '#^Variable \$action might not be defined\.$#' - identifier: variable.undefined - count: 2 - path: ../../../htdocs/supplier_proposal/info.php - - message: '#^If condition is always false\.$#' identifier: if.alwaysFalse @@ -22374,12 +21318,6 @@ parameters: count: 1 path: ../../../htdocs/theme/md/style.css.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/ticket/agenda.php - - message: '#^Loose comparison using \=\= between ''setsubject'' and ''setsubject'' will always evaluate to true\.$#' identifier: equal.alwaysTrue @@ -22434,12 +21372,6 @@ parameters: count: 1 path: ../../../htdocs/ticket/class/cticketcategory.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/ticket/class/cticketcategory.class.php - - message: '#^Call to function array_key_exists\(\) with ''paths'' and array\{paths\: mixed, names\: mixed, mimes\: mixed\} will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -22602,36 +21534,12 @@ parameters: count: 4 path: ../../../htdocs/ticket/class/ticket.class.php - - - message: '#^Variable \$exact in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/ticket/class/ticket.class.php - - message: '#^Variable \$recipient in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable count: 2 path: ../../../htdocs/ticket/class/ticket.class.php - - - message: '#^Variable \$references in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/ticket/class/ticket.class.php - - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/ticket/contact.php - - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/ticket/document.php - - message: '#^Variable \$upload_dir might not be defined\.$#' identifier: variable.undefined @@ -22680,12 +21588,6 @@ parameters: count: 1 path: ../../../htdocs/ticket/index.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/ticket/messaging.php - - message: '#^If condition is always true\.$#' identifier: if.alwaysTrue @@ -22944,12 +21846,6 @@ parameters: count: 1 path: ../../../htdocs/user/group/list.php - - - message: '#^Variable \$val in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/user/group/list.php - - message: '#^Variable \$mc might not be defined\.$#' identifier: variable.undefined @@ -23202,12 +22098,6 @@ parameters: count: 1 path: ../../../htdocs/webhook/class/target.class.php - - - message: '#^Property CommonObject\:\:\$ismultientitymanaged \(int\<0, 1\>\|string\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/webhook/class/target.class.php - - message: '#^Property Target\:\:\$status \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -23226,42 +22116,18 @@ parameters: count: 1 path: ../../../htdocs/webhook/target_card.php - - - message: '#^Property Target\:\:\$status \(int\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/webhook/target_card.php - - message: '#^Variable \$soc might not be defined\.$#' identifier: variable.undefined count: 1 path: ../../../htdocs/webhook/target_card.php - - - message: '#^If condition is always false\.$#' - identifier: if.alwaysFalse - count: 1 - path: ../../../htdocs/webhook/target_list.php - - - - message: '#^Negated boolean expression is always false\.$#' - identifier: booleanNot.alwaysFalse - count: 1 - path: ../../../htdocs/webhook/target_list.php - - message: '#^Variable \$contextpage in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable count: 1 path: ../../../htdocs/webhook/target_list.php - - - message: '#^Variable \$permissiontodelete in empty\(\) always exists and is not falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/webhook/target_list.php - - message: '#^Variable \$dolibarr_main_url_root might not be defined\.$#' identifier: variable.undefined @@ -23304,12 +22170,6 @@ parameters: count: 1 path: ../../../htdocs/webportal/class/html.formlistwebportal.class.php - - - message: '#^Offset ''totalizable'' on array\{nbfield\: int, totalizable\: array\{\}, pos\?\: non\-empty\-array\, val\?\: non\-empty\-array\\} in empty\(\) always exists and is always falsy\.$#' - identifier: empty.offset - count: 1 - path: ../../../htdocs/webportal/class/html.formlistwebportal.class.php - - message: '#^Result of && is always false\.$#' identifier: booleanAnd.alwaysFalse @@ -23652,12 +22512,6 @@ parameters: count: 1 path: ../../../htdocs/website/websiteaccount_card.php - - - message: '#^Variable \$socid might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/website/websiteaccount_card.php - - message: '#^Call to function method_exists\(\) with \$this\(Workstation\) and ''getLibStatut'' will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -23766,12 +22620,6 @@ parameters: count: 1 path: ../../../htdocs/workstation/workstation_list.php - - - message: '#^Variable \$arrayofparameters in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../htdocs/zapier/admin/setup.php - - message: '#^Left side of && is always false\.$#' identifier: booleanAnd.leftAlwaysFalse @@ -23802,12 +22650,6 @@ parameters: count: 1 path: ../../../scripts/doc/regenerate_docs.php - - - message: '#^Variable \$newlang in empty\(\) always exists and is always falsy\.$#' - identifier: empty.variable - count: 1 - path: ../../../scripts/doc/regenerate_docs.php - - message: '#^Variable \$subdir in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable