Skip to content

fix phpstan

fix phpstan #8081

Triggered via pull request September 30, 2024 09:55
Status Failure
Total duration 9m 23s
Artifacts 3

ci.yml

on: pull_request
pre-commit  /  pre-commit
1m 52s
pre-commit / pre-commit
gh-travis  /  gh-travis
gh-travis / gh-travis
Matrix: phpstan / php-stan
Matrix: windows-ci / win-test
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 11 warnings
phan / Run phan
Process completed with exit code 1.
phan / Run phan
Process completed with exit code 1.
phpstan / php-stan (8.2)
Canceling since a higher priority waiting request for 'stan-CI-refs/pull/31199/merge' exists
phpstan / php-stan (8.2)
The operation was canceled.
pre-commit / pre-commit
Cache save failed.
phan / Run phan: htdocs/compta/facture/card.php#L1719
card.php: PhanTypeMismatchProperty: Assigning price2num((((float)($line->qty) * (float)($valuestandardinvoice)) / 100), 'MS') of type string to property but \CommonObjectLine->qty is float
phan / Run phan: htdocs/compta/facture/card.php#L1728
card.php: PhanTypeMismatchProperty: Assigning price2num((((float)($line->qty) * (float)($valuedeposit)) / 100), 'MS') of type string to property but \CommonObjectLine->qty is float
phan / Run phan: htdocs/core/class/html.formwebsite.class.php#L304
html.formwebsite.class.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObjectLine->type_container
phan / Run phan: htdocs/core/class/html.formwebsite.class.php#L305
html.formwebsite.class.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObjectLine->pageurl
phan / Run phan: htdocs/core/class/html.formwebsite.class.php#L305
html.formwebsite.class.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObjectLine->title
phan / Run phan: htdocs/core/class/html.formwebsite.class.php#L308
html.formwebsite.class.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObjectLine->lang (Did you mean $langs)
phan / Run phan: htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php#L538
pdf_standard_asset.modules.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObjectLine->situation_percent
phan / Run phan: htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php#L540
pdf_standard_asset.modules.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObjectLine->situation_percent
phan / Run phan: htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php#L552
pdf_standard_asset.modules.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObjectLine->localtax1_tx
phan / Run phan: htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php#L553
pdf_standard_asset.modules.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObjectLine->localtax2_tx

Artifacts

Produced during runtime
Name Size
phan-srcrt Expired
908 Bytes
phpstan-srcrt Expired
134 Bytes
precommit-logs Expired
558 Bytes