Skip to content

Straight contrainst when not critical must be avoid to avoid #8704

Straight contrainst when not critical must be avoid to avoid

Straight contrainst when not critical must be avoid to avoid #8704

Triggered via push March 31, 2026 22:22
Status Failure
Total duration 8m 54s
Artifacts 3

ci-on-push.yml

on: push
pre-commit  /  pre-commit
4m 57s
pre-commit / pre-commit
Matrix: phpstan / php-stan
Matrix: windows-ci / win-test
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
phpstan / php-stan (8.2)
Process completed with exit code 1.
phpstan / php-stan (8.2): htdocs/holiday/class/holiday.class.php#L2801
Negated boolean expression is always true.
phpstan / php-stan (8.2): htdocs/holiday/class/holiday.class.php#L371
Ignored error pattern #^Negated boolean expression is always true\.$# (booleanNot.alwaysTrue) in path /home/runner/work/dolibarr/dolibarr/htdocs/holiday/class/holiday.class.php is expected to occur 2 times, but occurred 3 times.
phpstan / php-stan (8.2): htdocs/core/ajax/saveinplace.php#L199
Call to function is_object() with object will always evaluate to true.
phpstan / php-stan (8.2): htdocs/compta/cashcontrol/cashcontrol_list.php#L269
Strict comparison using === between array{type: string, label: string, langfile?: string, enabled: int<0, 2>|string, position: int, notnull?: int, visible: int<-6, 6>|string, alwayseditable?: int<0, 1>|string, ...} and null will always evaluate to false.
phpstan / php-stan (8.2): htdocs/commande/list_det.php#L1893
Call to function is_object() with FormProduct will always evaluate to true.
phpstan / php-stan (8.2): htdocs/comm/action/peruser.php#L603
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 / php-stan (8.2): htdocs/comm/action/peruser.php#L532
Ternary operator condition is always true.
pre-commit / pre-commit
Cache save failed.

Artifacts

Produced during runtime
Name Size Digest
phan-srcrt Expired
199 Bytes
sha256:71e9147a238c298823c3d2b7e6dd797944bc35a5cfe6806eac7209f6f464910b
phpstan-srcrt Expired
827 Bytes
sha256:4ba917c5ad4c66ca43f5cf0a879a63e4172523d8bb6d58b76fc829659f6d4fb7
precommit-logs
544 Bytes
sha256:f68c332ae1df6740e2e71d450aac73b6e4c278ba1b781f8258ee63ecc4832143