Skip to content

NEW Accountancy - Add a protection on various payment for auxiliary account on general account not centralized #6030

NEW Accountancy - Add a protection on various payment for auxiliary account on general account not centralized

NEW Accountancy - Add a protection on various payment for auxiliary account on general account not centralized #6030

Triggered via pull request July 23, 2025 18:10
Status Failure
Total duration 11m 25s
Artifacts 3

ci-on-pull_request.yml

on: pull_request
pre-commit  /  pre-commit
2m 0s
pre-commit / pre-commit
Matrix: phpstan / php-stan
gh-travis  /  gh-travis
gh-travis / gh-travis
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 7 warnings
phan / Run phan
Process completed with exit code 1.
phan / Run phan
Process completed with exit code 1.
phpstan / php-stan (8.2)
Process completed with exit code 1.
phpstan / php-stan (8.2): htdocs/comm/action/peruser.php#L2524
Ternary operator condition is always true.
phpstan / php-stan (8.2): 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 4 times, but occurred 5 times.
phpstan / php-stan (8.2): htdocs/admin/emailcollector_list.php#L372
Variable $groupby might not be defined.
phan / Run phan: htdocs/comm/action/peruser.php#L826
peruser.php: PhanTypeMismatchArgumentProbablyReal: Argument 1 ($addcurrentuser) is 'hierarchyme' of type 'hierarchyme' but \User::getAllChildIds() takes int (no real type) defined at htdocs/user/class/user.class.php:3984 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
phan / Run phan: htdocs/comm/action/peruser.php#L704
peruser.php: PhanTypeMismatchArgumentProbablyReal: Argument 1 ($addcurrentuser) is 'hierarchyme' of type 'hierarchyme' but \User::getAllChildIds() takes int (no real type) defined at htdocs/user/class/user.class.php:3984 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
phan / Run phan: htdocs/comm/action/pertype.php#L680
pertype.php: PhanTypeMismatchArgumentProbablyReal: Argument 1 ($addcurrentuser) is 'hierarchyme' of type 'hierarchyme' but \User::getAllChildIds() takes int (no real type) defined at htdocs/user/class/user.class.php:3984 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
phan / Run phan: htdocs/comm/action/pertype.php#L558
pertype.php: PhanTypeMismatchArgumentProbablyReal: Argument 1 ($addcurrentuser) is 'hierarchyme' of type 'hierarchyme' but \User::getAllChildIds() takes int (no real type) defined at htdocs/user/class/user.class.php:3984 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
phan / Run phan: htdocs/comm/action/list.php#L471
list.php: PhanTypeMismatchArgumentProbablyReal: Argument 1 ($addcurrentuser) is 'hierarchyme' of type 'hierarchyme' but \User::getAllChildIds() takes int (no real type) defined at htdocs/user/class/user.class.php:3984 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
phan / Run phan: htdocs/comm/action/index.php#L2362
index.php: PhanTypeMismatchArgumentInternal: Argument 1 ($string) is $usergroup of type non-zero-int but \urlencode() takes string
phan / Run phan: htdocs/comm/action/index.php#L776
index.php: PhanTypeMismatchArgumentProbablyReal: Argument 1 ($addcurrentuser) is 'hierarchyme' of type 'hierarchyme' but \User::getAllChildIds() takes int (no real type) defined at htdocs/user/class/user.class.php:3984 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

Artifacts

Produced during runtime
Name Size Digest
phan-srcrt Expired
591 Bytes
sha256:8d353fdc75738c4a1fff7daa2882834d04ebac3f1e3e830a0ee4ff9c70fe669c
phpstan-srcrt Expired
488 Bytes
sha256:9a99116f93d82c1ced0fbbec767313d55669026f728fe9af8ea342b7795d320a
precommit-logs
584 Bytes
sha256:b0be165aa87cd4f9aff1ac95af362bce8648697d3f7f16e251941e1e294bebbb