diff --git a/dev/build/phpstan/phpstan-baseline.neon b/dev/build/phpstan/phpstan-baseline.neon index c906ae844444c..bcf72a4d23dcd 100644 --- a/dev/build/phpstan/phpstan-baseline.neon +++ b/dev/build/phpstan/phpstan-baseline.neon @@ -3804,36 +3804,6 @@ parameters: count: 4 path: ../../../htdocs/comm/propal/class/propal.class.php - - - message: '#^Parameter \#15 \$pu_devise of function calcul_price_total expects float, string given\.$#' - identifier: argument.type - count: 2 - path: ../../../htdocs/comm/propal/class/propal.class.php - - - - message: '#^Parameter \#2 \$pu of function calcul_price_total expects float, string given\.$#' - identifier: argument.type - count: 2 - path: ../../../htdocs/comm/propal/class/propal.class.php - - - - message: '#^Parameter \#3 \$remise_percent_ligne of function calcul_price_total expects float, string given\.$#' - identifier: argument.type - count: 2 - path: ../../../htdocs/comm/propal/class/propal.class.php - - - - message: '#^Parameter \#5 \$uselocaltax1_rate of function calcul_price_total expects float, string given\.$#' - identifier: argument.type - count: 2 - path: ../../../htdocs/comm/propal/class/propal.class.php - - - - message: '#^Parameter \#6 \$uselocaltax2_rate of function calcul_price_total expects float, string given\.$#' - identifier: argument.type - count: 2 - path: ../../../htdocs/comm/propal/class/propal.class.php - - message: '#^Property CommonObject\:\:\$cond_reglement_id \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -6804,24 +6774,6 @@ parameters: count: 6 path: ../../../htdocs/contrat/class/contrat.class.php - - - message: '#^Parameter \#1 \$qty of function calcul_price_total expects float, string given\.$#' - identifier: argument.type - count: 1 - path: ../../../htdocs/contrat/class/contrat.class.php - - - - message: '#^Parameter \#5 \$uselocaltax1_rate of function calcul_price_total expects float, string given\.$#' - identifier: argument.type - count: 1 - path: ../../../htdocs/contrat/class/contrat.class.php - - - - message: '#^Parameter \#6 \$uselocaltax2_rate of function calcul_price_total expects float, string given\.$#' - identifier: argument.type - count: 1 - path: ../../../htdocs/contrat/class/contrat.class.php - - message: '#^Property CommonObject\:\:\$ref \(string\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -6900,12 +6852,6 @@ parameters: count: 1 path: ../../../htdocs/contrat/class/contratligne.class.php - - - message: '#^Parameter \#4 \$txtva of function calcul_price_total expects float, string given\.$#' - identifier: argument.type - count: 1 - path: ../../../htdocs/contrat/class/contratligne.class.php - - message: '#^Variable \$label in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable @@ -10098,12 +10044,6 @@ parameters: count: 1 path: ../../../htdocs/core/lib/emailing.lib.php - - - message: '#^Parameter \#4 \$head of function complete_head_from_modules expects array\, array\{0\: array\{''//admin/confexped…'', mixed\}, 1\: array\{''//admin/expedition…'', mixed\}, 2\?\: array\{''//admin/delivery\.php'', mixed\}\} given\.$#' - identifier: argument.type - count: 1 - path: ../../../htdocs/core/lib/expedition.lib.php - - message: '#^Call to function is_array\(\) with array\{file\: string, timestamp\: int\|false\} will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -10485,7 +10425,7 @@ parameters: - message: '#^Ternary operator condition is always true\.$#' identifier: ternary.alwaysTrue - count: 18 + count: 12 path: ../../../htdocs/core/lib/pdf.lib.php - @@ -10890,78 +10830,6 @@ parameters: count: 1 path: ../../../htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php - - - message: '#^Property pdf_standard_asset\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php - - - - message: '#^Property pdf_standard_asset\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php - - - - message: '#^Property pdf_standard_asset\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php - - - - message: '#^Property pdf_standard_asset\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php - - - - message: '#^Property pdf_standard_asset\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php - - - - message: '#^Property pdf_standard_asset\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php - - - - message: '#^Property pdf_standard_asset\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php - - - - message: '#^Property pdf_standard_asset\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php - - - - message: '#^Property pdf_standard_asset\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php - - - - message: '#^Property pdf_standard_asset\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php - - - - message: '#^Property pdf_standard_asset\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php - - - - message: '#^Property pdf_standard_asset\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php - - message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -11052,96 +10920,6 @@ parameters: count: 5 path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\\|int\<1, max\>, status\: false, title\: array\{textkey\: ''Photo'', label\: '' ''\}, content\: array\{padding\: array\{0, 0, 0, 0\}\}, border\-left\: false\}\|array\{rank\: int, width\: float\|int, status\: bool, title\: array\{textkey\: string, label\: string, align\: string, padding\: array\{float, float, float, float\}\}, content\: array\{align\: string, padding\: array\{float, float, float, float\}\}\}\>\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\\|int\<1, max\>, status\: true, title\: array\{textkey\: ''Photo'', label\: '' ''\}, content\: array\{padding\: array\{0, 0, 0, 0\}\}, border\-left\: false\}\|array\{rank\: int, width\: float\|int, status\: bool, title\: array\{textkey\: string, label\: string, align\: string, padding\: array\{float, float, float, float\}\}, content\: array\{align\: string, padding\: array\{float, float, float, float\}\}\}\>\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\, status\: true, title\: array\{textkey\: ''PriceUHT''\}, border\-left\: true\}\|array\{rank\: int, width\: float\|int, status\: bool, title\: array\{textkey\: string, label\: string, align\: string, padding\: array\{float, float, float, float\}\}, content\: array\{align\: string, padding\: array\{float, float, float, float\}\}\}\>\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - - - message: '#^Property pdf_eratosthene\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php - - message: '#^Ternary operator condition is always false\.$#' identifier: ternary.alwaysFalse @@ -11166,42 +10944,6 @@ parameters: count: 2 path: ../../../htdocs/core/modules/delivery/doc/pdf_storm.modules.php - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/delivery/doc/pdf_storm.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/delivery/doc/pdf_storm.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/delivery/doc/pdf_storm.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/delivery/doc/pdf_storm.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/delivery/doc/pdf_storm.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/delivery/doc/pdf_storm.modules.php - - message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -11263,100 +11005,40 @@ parameters: path: ../../../htdocs/core/modules/expedition/doc/pdf_espadon.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType + message: '#^Ternary operator condition is always false\.$#' + identifier: ternary.alwaysFalse count: 1 path: ../../../htdocs/core/modules/expedition/doc/pdf_espadon.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType + message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType count: 1 - path: ../../../htdocs/core/modules/expedition/doc/pdf_espadon.modules.php + path: ../../../htdocs/core/modules/expedition/doc/pdf_merou.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType + message: '#^Ternary operator condition is always false\.$#' + identifier: ternary.alwaysFalse count: 1 - path: ../../../htdocs/core/modules/expedition/doc/pdf_espadon.modules.php + path: ../../../htdocs/core/modules/expedition/doc/pdf_rouget.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/expedition/doc/pdf_espadon.modules.php + message: '#^Ternary operator condition is always false\.$#' + identifier: ternary.alwaysFalse + count: 2 + path: ../../../htdocs/core/modules/expensereport/doc/pdf_standard_expensereport.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/expedition/doc/pdf_espadon.modules.php + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue + count: 6 + path: ../../../htdocs/core/modules/expensereport/doc/pdf_standard_expensereport.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType + message: '#^Variable \$array_propal_object in isset\(\) always exists and is not nullable\.$#' + identifier: isset.variable count: 1 - path: ../../../htdocs/core/modules/expedition/doc/pdf_espadon.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/expedition/doc/pdf_espadon.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/expedition/doc/pdf_espadon.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/expedition/doc/pdf_espadon.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/expedition/doc/pdf_espadon.modules.php - - - - message: '#^Ternary operator condition is always false\.$#' - identifier: ternary.alwaysFalse - count: 1 - path: ../../../htdocs/core/modules/expedition/doc/pdf_espadon.modules.php - - - - message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' - identifier: function.alreadyNarrowedType - count: 1 - path: ../../../htdocs/core/modules/expedition/doc/pdf_merou.modules.php - - - - message: '#^Ternary operator condition is always false\.$#' - identifier: ternary.alwaysFalse - count: 1 - path: ../../../htdocs/core/modules/expedition/doc/pdf_rouget.modules.php - - - - message: '#^Ternary operator condition is always false\.$#' - identifier: ternary.alwaysFalse - count: 2 - path: ../../../htdocs/core/modules/expensereport/doc/pdf_standard_expensereport.modules.php - - - - message: '#^Ternary operator condition is always true\.$#' - identifier: ternary.alwaysTrue - count: 6 - path: ../../../htdocs/core/modules/expensereport/doc/pdf_standard_expensereport.modules.php - - - - message: '#^Variable \$array_propal_object in isset\(\) always exists and is not nullable\.$#' - identifier: isset.variable - count: 1 - path: ../../../htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php + path: ../../../htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php - message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' @@ -11391,7 +11073,7 @@ parameters: - message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' identifier: function.alreadyNarrowedType - count: 13 + count: 1 path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - @@ -11418,126 +11100,6 @@ parameters: count: 5 path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 2 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 2 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\, status\: true, title\: array\{textkey\: ''PriceUHT''\}, border\-left\: true\}\|array\{rank\: int, width\: float\|int, status\: bool, title\: array\{textkey\: string, label\: string, align\: string, padding\: array\{float, float, float, float\}\}, content\: array\{align\: string, padding\: array\{float, float, float, float\}\}\}\>\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 2 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - - - message: '#^Property pdf_octopus\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_octopus.modules.php - - message: '#^Variable \$hidetop in empty\(\) always exists and is always falsy\.$#' identifier: empty.variable @@ -11547,7 +11109,7 @@ parameters: - message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' identifier: function.alreadyNarrowedType - count: 14 + count: 1 path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - @@ -11568,108 +11130,6 @@ parameters: count: 5 path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\, status\: true, title\: array\{textkey\: ''PriceUHT''\}, border\-left\: true\}\|array\{rank\: int, width\: float\|int, status\: bool, title\: array\{textkey\: string, label\: string, align\: string, padding\: array\{float, float, float, float\}\}, content\: array\{align\: string, padding\: array\{float, float, float, float\}\}\}\>\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - - - message: '#^Property pdf_sponge\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/facture/doc/pdf_sponge.modules.php - - message: '#^Ternary operator condition is always false\.$#' identifier: ternary.alwaysFalse @@ -12552,36 +12012,6 @@ parameters: count: 1 path: ../../../htdocs/core/modules/mrp/doc/pdf_vinci.modules.php - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/mrp/doc/pdf_vinci.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/mrp/doc/pdf_vinci.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/mrp/doc/pdf_vinci.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/mrp/doc/pdf_vinci.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/mrp/doc/pdf_vinci.modules.php - - message: '#^Property CommonObject\:\:\$multicurrency_tx \(array\\|float\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -12682,383 +12112,125 @@ parameters: message: '#^If condition is always true\.$#' identifier: if.alwaysTrue count: 1 - path: ../../../htdocs/core/modules/project/doc/pdf_baleine.modules.php - - - - message: '#^If condition is always true\.$#' - identifier: if.alwaysTrue - count: 1 - path: ../../../htdocs/core/modules/project/doc/pdf_beluga.modules.php - - - - message: '#^Loose comparison using \=\= between ''L'' and ''L'' will always evaluate to true\.$#' - identifier: equal.alwaysTrue - count: 2 - path: ../../../htdocs/core/modules/project/doc/pdf_beluga.modules.php - - - - message: '#^Result of \|\| is always true\.$#' - identifier: booleanOr.alwaysTrue - count: 2 - path: ../../../htdocs/core/modules/project/doc/pdf_beluga.modules.php - - - - message: '#^If condition is always true\.$#' - identifier: if.alwaysTrue - count: 1 - path: ../../../htdocs/core/modules/project/doc/pdf_timespent.modules.php - - - - message: '#^Call to function is_array\(\) with array will always evaluate to true\.$#' - identifier: function.alreadyNarrowedType - count: 2 - path: ../../../htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php - - - - message: '#^Variable \$listlines might not be defined\.$#' - identifier: variable.undefined - count: 3 - path: ../../../htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php - - - - message: '#^Property CommonObject\:\:\$multicurrency_tx \(array\\|float\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 5 - path: ../../../htdocs/core/modules/propale/doc/pdf_azur.modules.php - - - - message: '#^Ternary operator condition is always false\.$#' - identifier: ternary.alwaysFalse - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_azur.modules.php - - - - message: '#^Property CommonObject\:\:\$multicurrency_tx \(array\\|float\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 5 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\, status\: true, title\: array\{textkey\: ''PriceUHT''\}, border\-left\: true\}\|array\{rank\: int, width\: float\|int, status\: bool, title\: array\{textkey\: string, label\: string, align\: string, padding\: array\{float, float, float, float\}\}, content\: array\{align\: string, padding\: array\{float, float, float, float\}\}\}\>\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Property pdf_cyan\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Ternary operator condition is always false\.$#' - identifier: ternary.alwaysFalse - count: 1 - path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - - - message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' - identifier: function.alreadyNarrowedType - count: 1 - path: ../../../htdocs/core/modules/rapport/pdf_paiement.class.php - - - - message: '#^Property Reception\:\:\$trueWeight \(float\|int\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/core/modules/reception/doc/pdf_squille.modules.php - - - - message: '#^Ternary operator condition is always false\.$#' - identifier: ternary.alwaysFalse - count: 1 - path: ../../../htdocs/core/modules/reception/doc/pdf_squille.modules.php - - - - message: '#^Call to function is_array\(\) with array\, mixed\> will always evaluate to true\.$#' - identifier: function.alreadyNarrowedType - count: 1 - path: ../../../htdocs/core/modules/societe/doc/doc_generic_odt.modules.php - - - - message: '#^Variable \$contactstatic might not be defined\.$#' - identifier: variable.undefined - count: 3 - path: ../../../htdocs/core/modules/societe/doc/doc_generic_odt.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\, status\: true, title\: array\{textkey\: ''PMPValueShort''\}, border\-left\: true\}\|array\{rank\: int, width\: float\|int, status\: bool, title\: array\{textkey\: string, label\: string, align\: string, padding\: array\{float, float, float, float\}\}, content\: array\{align\: string, padding\: array\{float, float, float, float\}\}\}\>\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php + path: ../../../htdocs/core/modules/project/doc/pdf_baleine.modules.php - - message: '#^Property CommonObject\:\:\$multicurrency_tx \(array\\|float\) in isset\(\) is not nullable\.$#' - identifier: isset.property + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 - path: ../../../htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php + path: ../../../htdocs/core/modules/project/doc/pdf_beluga.modules.php - - message: '#^Right side of \|\| is always false\.$#' - identifier: booleanOr.rightAlwaysFalse + message: '#^Loose comparison using \=\= between ''L'' and ''L'' will always evaluate to true\.$#' + identifier: equal.alwaysTrue count: 2 - path: ../../../htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php + path: ../../../htdocs/core/modules/project/doc/pdf_beluga.modules.php - - message: '#^Ternary operator condition is always false\.$#' - identifier: ternary.alwaysFalse - count: 1 - path: ../../../htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php + message: '#^Result of \|\| is always true\.$#' + identifier: booleanOr.alwaysTrue + count: 2 + path: ../../../htdocs/core/modules/project/doc/pdf_beluga.modules.php - - message: '#^Left side of \|\| is always false\.$#' - identifier: booleanOr.leftAlwaysFalse + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + path: ../../../htdocs/core/modules/project/doc/pdf_timespent.modules.php - - message: '#^Property CommandeFournisseur\:\:\$multicurrency_tx \(float\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + message: '#^Call to function is_array\(\) with array will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 2 + path: ../../../htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + message: '#^Variable \$listlines might not be defined\.$#' + identifier: variable.undefined + count: 3 + path: ../../../htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + message: '#^Property CommonObject\:\:\$multicurrency_tx \(array\\|float\) in isset\(\) is not nullable\.$#' + identifier: isset.property + count: 5 + path: ../../../htdocs/core/modules/propale/doc/pdf_azur.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType + message: '#^Ternary operator condition is always false\.$#' + identifier: ternary.alwaysFalse count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + path: ../../../htdocs/core/modules/propale/doc/pdf_azur.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + message: '#^Property CommonObject\:\:\$multicurrency_tx \(array\\|float\) in isset\(\) is not nullable\.$#' + identifier: isset.property + count: 5 + path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType + message: '#^Ternary operator condition is always false\.$#' + identifier: ternary.alwaysFalse count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + path: ../../../htdocs/core/modules/propale/doc/pdf_cyan.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType + message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + path: ../../../htdocs/core/modules/rapport/pdf_paiement.class.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType + message: '#^Property Reception\:\:\$trueWeight \(float\|int\) in isset\(\) is not nullable\.$#' + identifier: isset.property count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + path: ../../../htdocs/core/modules/reception/doc/pdf_squille.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType + message: '#^Ternary operator condition is always false\.$#' + identifier: ternary.alwaysFalse count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + path: ../../../htdocs/core/modules/reception/doc/pdf_squille.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType + message: '#^Call to function is_array\(\) with array\, mixed\> will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + path: ../../../htdocs/core/modules/societe/doc/doc_generic_odt.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + message: '#^Variable \$contactstatic might not be defined\.$#' + identifier: variable.undefined + count: 3 + path: ../../../htdocs/core/modules/societe/doc/doc_generic_odt.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType + message: '#^Property CommonObject\:\:\$multicurrency_tx \(array\\|float\) in isset\(\) is not nullable\.$#' + identifier: isset.property count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + path: ../../../htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + message: '#^Right side of \|\| is always false\.$#' + identifier: booleanOr.rightAlwaysFalse + count: 2 + path: ../../../htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType + message: '#^Ternary operator condition is always false\.$#' + identifier: ternary.alwaysFalse count: 1 - path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php + path: ../../../htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType + message: '#^Left side of \|\| is always false\.$#' + identifier: booleanOr.leftAlwaysFalse count: 1 path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType + message: '#^Property CommandeFournisseur\:\:\$multicurrency_tx \(float\) in isset\(\) is not nullable\.$#' + identifier: isset.property count: 1 path: ../../../htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php @@ -13122,90 +12294,6 @@ parameters: count: 1 path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - - - message: '#^Property CommonDocGenerator\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/core/modules/supplier_proposal/doc/pdf_zenith.modules.php - - message: '#^Property SupplierProposal\:\:\$multicurrency_tx \(float\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -14484,30 +13572,6 @@ parameters: count: 1 path: ../../../htdocs/emailcollector/class/emailcollector.class.php - - - message: '#^Parameter \#2 \$message_num of function imap_body expects int, string given\.$#' - identifier: argument.type - count: 1 - path: ../../../htdocs/emailcollector/class/emailcollector.class.php - - - - message: '#^Parameter \#2 \$message_num of function imap_fetchbody expects int, string given\.$#' - identifier: argument.type - count: 1 - path: ../../../htdocs/emailcollector/class/emailcollector.class.php - - - - message: '#^Parameter \#2 \$message_num of function imap_fetchstructure expects int, string given\.$#' - identifier: argument.type - count: 1 - path: ../../../htdocs/emailcollector/class/emailcollector.class.php - - - - message: '#^Parameter \#4 \$partno of method EmailCollector\:\:getpart\(\) expects string, \(float\|int\) given\.$#' - identifier: argument.type - count: 1 - path: ../../../htdocs/emailcollector/class/emailcollector.class.php - - message: '#^Right side of && is always true\.$#' identifier: booleanAnd.rightAlwaysTrue @@ -18840,66 +17904,6 @@ parameters: count: 1 path: ../../../htdocs/modulebuilder/template/core/modules/mymodule/doc/pdf_standard_myobject.modules.php - - - message: '#^Property pdf_standard_myobject\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/modulebuilder/template/core/modules/mymodule/doc/pdf_standard_myobject.modules.php - - - - message: '#^Property pdf_standard_myobject\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/modulebuilder/template/core/modules/mymodule/doc/pdf_standard_myobject.modules.php - - - - message: '#^Property pdf_standard_myobject\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/modulebuilder/template/core/modules/mymodule/doc/pdf_standard_myobject.modules.php - - - - message: '#^Property pdf_standard_myobject\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/modulebuilder/template/core/modules/mymodule/doc/pdf_standard_myobject.modules.php - - - - message: '#^Property pdf_standard_myobject\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/modulebuilder/template/core/modules/mymodule/doc/pdf_standard_myobject.modules.php - - - - message: '#^Property pdf_standard_myobject\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/modulebuilder/template/core/modules/mymodule/doc/pdf_standard_myobject.modules.php - - - - message: '#^Property pdf_standard_myobject\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/modulebuilder/template/core/modules/mymodule/doc/pdf_standard_myobject.modules.php - - - - message: '#^Property pdf_standard_myobject\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/modulebuilder/template/core/modules/mymodule/doc/pdf_standard_myobject.modules.php - - - - message: '#^Property pdf_standard_myobject\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/modulebuilder/template/core/modules/mymodule/doc/pdf_standard_myobject.modules.php - - - - message: '#^Property pdf_standard_myobject\:\:\$cols \(array\\) does not accept non\-empty\-array\\.$#' - identifier: assign.propertyType - count: 1 - path: ../../../htdocs/modulebuilder/template/core/modules/mymodule/doc/pdf_standard_myobject.modules.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue