Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 2 additions & 50 deletions dev/build/phpstan/phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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

-
Expand Down Expand Up @@ -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

-
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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\<string, array\<string, array\<int\|string, string\>\|int\|string\>\>\) in isset\(\) is not nullable\.$#'
identifier: isset.property
Expand Down Expand Up @@ -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
Expand Down