diff --git a/dev/build/phpstan/phpstan-baseline.neon b/dev/build/phpstan/phpstan-baseline.neon index bc529bb3390c2..4913d80b35d9b 100644 --- a/dev/build/phpstan/phpstan-baseline.neon +++ b/dev/build/phpstan/phpstan-baseline.neon @@ -1887,7 +1887,7 @@ parameters: - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue - count: 2 + count: 1 path: ../../../htdocs/api/class/api_documents.class.php - @@ -3933,7 +3933,7 @@ parameters: - message: '#^Variable \$contextpage in empty\(\) always exists and is not falsy\.$#' identifier: empty.variable - count: 3 + count: 1 path: ../../../htdocs/commande/list.php - @@ -4710,42 +4710,6 @@ parameters: count: 1 path: ../../../htdocs/compta/facture/class/facture.class.php - - - message: '#^Property Facture\:\:\$revenuestamp \(float\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/compta/facture/class/facture.class.php - - - - message: '#^Property Facture\:\:\$total_ht \(float\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/compta/facture/class/facture.class.php - - - - message: '#^Property Facture\:\:\$total_localtax1 \(float\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/compta/facture/class/facture.class.php - - - - message: '#^Property Facture\:\:\$total_localtax2 \(float\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/compta/facture/class/facture.class.php - - - - message: '#^Property Facture\:\:\$total_ttc \(float\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/compta/facture/class/facture.class.php - - - - message: '#^Property Facture\:\:\$total_tva \(float\) in isset\(\) is not nullable\.$#' - identifier: isset.property - count: 1 - path: ../../../htdocs/compta/facture/class/facture.class.php - - message: '#^Result of && is always false\.$#' identifier: booleanAnd.alwaysFalse @@ -7794,12 +7758,6 @@ parameters: count: 1 path: ../../../htdocs/core/class/commonobject.class.php - - - message: '#^Property CommonObject\:\:\$cond_reglement \(int\|string\) is never assigned string so it can be removed from the property type\.$#' - identifier: property.unusedType - count: 1 - path: ../../../htdocs/core/class/commonobject.class.php - - message: '#^Property CommonObject\:\:\$fields \(array\\|int\|string\>\>\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -18276,12 +18234,6 @@ parameters: count: 1 path: ../../../htdocs/product/dynamic_price/editor.php - - - message: '#^Variable \$lastmodified might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/product/index.php - - message: '#^If condition is always false\.$#' identifier: if.alwaysFalse