Skip to content

fix ignored phpstan (most of expects string, int given) #5633

fix ignored phpstan (most of expects string, int given)

fix ignored phpstan (most of expects string, int given) #5633

Triggered via pull request August 17, 2024 13:06
Status Failure
Total duration 11m 23s
Artifacts 4

ci.yml

on: pull_request
gh-travis  /  gh-travis
gh-travis / gh-travis
Matrix: phpstan / php-stan
Matrix: windows-ci / win-test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
phpstan / php-stan (8.2): htdocs/comm/mailing/card.php#L302
Parameter #2 $type of function dol_hash expects string, int given.
phpstan / php-stan (8.2): htdocs/comm/mailing/card.php#L303
Parameter #2 $type of function dol_hash expects string, int given.
phpstan / php-stan (8.2): htdocs/comm/mailing/card.php#L304
Parameter #2 $type of function dol_hash expects string, int given.
phpstan / php-stan (8.2): htdocs/comm/mailing/card.php#L305
Parameter #2 $type of function dol_hash expects string, int given.
phpstan / php-stan (8.2): htdocs/comm/mailing/card.php#L306
Parameter #2 $type of function dol_hash expects string, int given.
phpstan / php-stan (8.2): htdocs/comm/mailing/cibles.php#L614
Parameter #4 $admin of function info_admin expects string, int given.
phpstan / php-stan (8.2): htdocs/comm/mailing/class/mailing.class.php#L378
Parameter #2 $b of function dol_html_entity_decode expects string, int given.
phpstan / php-stan (8.2): htdocs/comm/mailing/class/mailing.class.php#L379
Parameter #2 $b of function dol_html_entity_decode expects string, int given.
phpstan / php-stan (8.2): htdocs/comm/propal/card.php#L1304
Parameter #2 $withcode of function getCountry expects string, int given.
phpstan / php-stan (8.2): htdocs/comm/propal/card.php#L1314
Parameter #2 $withcode of function getCountry expects string, int given.
pre-commit / pre-commit
Cache save failed.

Artifacts

Produced during runtime
Name Size
phan-srcrt Expired
199 Bytes
phpstan-srcrt Expired
8.21 KB
precommit-logs
543 Bytes
win-ci-logs Expired
1.07 MB