Skip to content

fix phpstan

fix phpstan #8077

Triggered via pull request September 30, 2024 09:24
Status Failure
Total duration 5m 13s
Artifacts 3

ci.yml

on: pull_request
pre-commit  /  pre-commit
1m 40s
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

6 errors and 11 warnings
phpstan / php-stan (8.2): htdocs/core/class/commonobject.class.php#L5268
Parameter #2 $line of method CommonObject::printObjectLine() expects CommonObjectLine, CommonObject given.
phpstan / php-stan (8.2): htdocs/core/class/commonobject.class.php#L5451
Parameter #1 $line of method CommonObject::printOriginLine() expects CommonObjectLine, CommonObject given.
phpstan / php-stan (8.2): htdocs/projet/class/task.class.php#L1719
Property CommonObject::$lines (array<CommonObject>) does not accept array<int<0, max>, stdClass>.
phpstan / php-stan (8.2)
Process completed with exit code 1.
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/core/class/html.formwebsite.class.php#L304
html.formwebsite.class.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObject-&gt;type_container
phan / Run phan: htdocs/core/class/html.formwebsite.class.php#L305
html.formwebsite.class.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObject-&gt;pageurl
phan / Run phan: htdocs/core/class/html.formwebsite.class.php#L305
html.formwebsite.class.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObject-&gt;title
phan / Run phan: htdocs/core/class/html.formwebsite.class.php#L308
html.formwebsite.class.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObject-&gt;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 \CommonObject-&gt;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 \CommonObject-&gt;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 \CommonObject-&gt;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 \CommonObject-&gt;localtax2_tx
phan / Run phan: htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php#L554
pdf_standard_asset.modules.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObject-&gt;localtax1_type (Did you mean $localtax1_rate)
phan / Run phan: htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php#L555
pdf_standard_asset.modules.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObject-&gt;localtax2_type (Did you mean $localtax1_type)

Artifacts

Produced during runtime
Name Size
phan-srcrt Expired
766 Bytes
phpstan-srcrt Expired
463 Bytes
precommit-logs Expired
558 Bytes