fix phpstan and CI #337
Annotations
7 errors
Run PHPStan:
htdocs/compta/stats/cabyprodserv.php#L480
Variable $selected_type in isset() always exists and is not nullable.
|
Run PHPStan:
htdocs/compta/stats/supplier_turnover_by_prodserv.php#L405
Variable $selected_type in isset() always exists and is not nullable.
|
Run 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.
|
Run PHPStan:
htdocs/product/class/product.class.php#L2681
Loose comparison using == between 0|0.0 and 0 will always evaluate to true.
|
Run PHPStan:
htdocs/product/class/product.class.php#L2781
Property Product::$price_min (float) does not accept string.
|
Run PHPStan:
htdocs/product/class/product.class.php#L2782
Property Product::$price_min_ttc (float) does not accept string.
|
Run PHPStan
Process completed with exit code 1.
|
Loading