Skip to content

fix phpstan and CI #340

fix phpstan and CI

fix phpstan and CI #340

Triggered via pull request November 17, 2024 19:42
Status Failure
Total duration 6m 40s
Artifacts 3

ci-on-pull_request.yml

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

Annotations

2 errors and 5 warnings
phan / Run phan
Process completed with exit code 1.
phan / Run phan
Process completed with exit code 1.
pre-commit / pre-commit
Cache save failed.
phan / Run phan: htdocs/product/class/product.class.php#L2769
product.class.php: PhanTypeMismatchProperty: Assigning ($price as a field) of type array<int,float> to property but \Product->multiprices is array<int,string>
phan / Run phan: htdocs/product/class/product.class.php#L2770
product.class.php: PhanTypeMismatchProperty: Assigning ($price_ttc as a field) of type array<int,float> to property but \Product->multiprices_ttc is array<int,string>
phan / Run phan: htdocs/product/class/product.class.php#L2771
product.class.php: PhanTypeMismatchProperty: Assigning ($price_min as a field) of type array<int,float> to property but \Product->multiprices_min is array<int,string>
phan / Run phan: htdocs/product/class/product.class.php#L2772
product.class.php: PhanTypeMismatchProperty: Assigning ($price_min_ttc as a field) of type array<int,float> to property but \Product->multiprices_min_ttc is array<int,string>

Artifacts

Produced during runtime
Name Size
phan-srcrt Expired
438 Bytes
phpstan-srcrt Expired
190 Bytes
precommit-logs Expired
584 Bytes