PHPStan baseline #250
Annotations
10 errors
phpstan:
htdocs/comm/action/index.php#L801
Variable $actioncode in empty() always exists and is not falsy.
|
phpstan:
htdocs/comm/action/index.php#L1584
Parameter #3 $status of function print_actions_filter expects int, array<mixed>|string given.
|
phpstan:
htdocs/comm/action/index.php#L1695
Parameter #3 $status of function print_actions_filter expects int, array<mixed>|string given.
|
phpstan:
htdocs/comm/action/index.php#L1763
Parameter #3 $status of function print_actions_filter expects int, array<mixed>|string given.
|
phpstan:
htdocs/comm/action/peruser.php#L366
Ignored error pattern #^If condition is always false\.$# (if.alwaysFalse) in path /home/runner/work/dolibarr/dolibarr/htdocs/comm/action/peruser.php is expected to occur 1 time, but occurred 2 times.
|
phpstan:
htdocs/comm/action/peruser.php#L486
Ignored error pattern #^Loose comparison using \=\= between 'show_peruser' and 'show_day' will always evaluate to false\.$# (equal.alwaysFalse) in path /home/runner/work/dolibarr/dolibarr/htdocs/comm/action/peruser.php is expected to occur 2 times, but occurred 3 times.
|
phpstan:
htdocs/comm/action/peruser.php#L534
Ignored error pattern #^Ternary operator condition is always true\.$# (ternary.alwaysTrue) in path /home/runner/work/dolibarr/dolibarr/htdocs/comm/action/peruser.php is expected to occur 10 times, but occurred 14 times.
|
phpstan:
htdocs/comm/action/peruser.php#L605
Call to function is_array() with list<array{type: 'globalsetup'|'usersetup', src: mixed, name: mixed, offsettz: int, color: mixed, default: mixed, buggedfile: mixed}> will always evaluate to true.
|
phpstan:
htdocs/comm/action/peruser.php#L652
Variable $showbirthday in empty() always exists and is always falsy.
|
phpstan:
htdocs/comm/action/peruser.php#L658
Variable $showbirthday in empty() always exists and is always falsy.
|