Skip to content

PHPStan baseline

PHPStan baseline #3

Triggered via schedule December 5, 2024 06:18
Status Failure
Total duration 10m 54s
Artifacts

phpstan_baseline.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: htdocs/compta/stats/cabyprodserv.php#L480
Variable $selected_type in isset() always exists and is not nullable.
phpstan: htdocs/compta/stats/supplier_turnover_by_prodserv.php#L405
Variable $selected_type in isset() always exists and is not nullable.
phpstan: htdocs/core/lib/files.lib.php#L2488
Path in include_once() "pclzip//pclzip.lib.php" is not a file or it does not exist.
phpstan: htdocs/core/lib/files.lib.php#L2555
Path in include_once() "pclzip//pclzip.lib.php" is not a file or it does not exist.
phpstan: htdocs/core/modules/member/doc/pdf_standard_member.class.php#L315
Parameter #1 $substitutionarray of function complete_substitutions_array expects array<string, string>, array<string, mixed> given.
phpstan: htdocs/product/class/product.class.php#L2681
Ignored error pattern #^Result of \|\| is always true\.$# (booleanOr.alwaysTrue) in path /home/runner/work/dolibarr/dolibarr/htdocs/product/class/product.class.php is expected to occur 1 time, but occurred 2 times.
phpstan: htdocs/product/class/product.class.php#L2681
Loose comparison using == between 0|0.0 and 0 will always evaluate to true.
phpstan: htdocs/product/class/product.class.php#L2694
Result of || is always true.
phpstan: htdocs/product/class/product.class.php#L2781
Property Product::$price_min (float) does not accept string.
phpstan: htdocs/product/class/product.class.php#L2782
Property Product::$price_min_ttc (float) does not accept string.