Skip to content

Remove unnecessary type casting for VAT rates #2

Remove unnecessary type casting for VAT rates

Remove unnecessary type casting for VAT rates #2

Triggered via push October 18, 2025 14:29
Status Failure
Total duration 14m 40s
Artifacts 2

ci-on-push.yml

on: push
pre-commit  /  pre-commit
3m 34s
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

4 errors
phan / Run phan
Process completed with exit code 1.
phan / Run phan: htdocs/fourn/commande/card.php#L814
PhanTypeMismatchArgument Argument 6 ($txtva) is $vat_rate of type string|string[] but \CommandeFournisseur::updateline() takes float|int defined at htdocs/fourn/class/fournisseur.commande.class.php:3098
phan / Run phan: htdocs/fourn/commande/card.php#L671
PhanTypeMismatchArgument Argument 4 ($txtva) is $tva_tx of type string|string[] but \CommandeFournisseur::addline() takes float defined at htdocs/fourn/class/fournisseur.commande.class.php:2026
phan / Run phan: htdocs/fourn/commande/card.php#L415
PhanTypeMismatchArgument Argument 6 ($txtva) is $vat_rate of type string|string[] but \CommandeFournisseur::updateline() takes float|int defined at htdocs/fourn/class/fournisseur.commande.class.php:3098

Artifacts

Produced during runtime
Name Size Digest
phpstan-srcrt Expired
190 Bytes
sha256:06af2a06348deef9f00bf3bc90ea39cd6c3275aa2940c5ae7245dbc82c0bb391
precommit-logs
853 Bytes
sha256:194918b694fcf95f63d2a99901f5531f1a6107a556aa73ac5930e9cc5fd9111f