Skip to content

Remove unnecessary type casting for VAT rates #6

Remove unnecessary type casting for VAT rates

Remove unnecessary type casting for VAT rates #6

Triggered via push October 18, 2025 15:51
Status Failure
Total duration 14m 31s
Artifacts 2

ci-on-push.yml

on: push
pre-commit  /  pre-commit
3m 18s
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/supplier_proposal/card.php#L1086
PhanTypeMismatchArgument Argument 5 ($txtva) is $vat_rate of type string|string[] but \SupplierProposal::updateline() takes float defined at htdocs/supplier_proposal/class/supplier_proposal.class.php:741
phan / Run phan: htdocs/supplier_proposal/card.php#L886
PhanTypeMismatchArgument Argument 4 ($txtva) is $tva_tx of type string|string[] but \SupplierProposal::addline() takes float defined at htdocs/supplier_proposal/class/supplier_proposal.class.php:455
phan / Run phan: htdocs/supplier_proposal/card.php#L618
PhanTypeMismatchArgument Argument 5 ($txtva) is $vat_rate of type string|string[] but \SupplierProposal::updateline() takes float defined at htdocs/supplier_proposal/class/supplier_proposal.class.php:741

Artifacts

Produced during runtime
Name Size Digest
phpstan-srcrt Expired
190 Bytes
sha256:b2761300a04f4f36826b247b3bc66760c180392e833f0cdc53e88d842a7f360e
precommit-logs
853 Bytes
sha256:1de8b62523101c95a76a6a71f6ad3549f3a690fc8d75fb036f5dcf9297ae336f