Skip to content

Qual: Fix phan notices (modulebuilder) #2160

Qual: Fix phan notices (modulebuilder)

Qual: Fix phan notices (modulebuilder) #2160

Triggered via pull request February 6, 2025 11:18
Status Failure
Total duration 5m 19s
Artifacts 3

ci-on-pull_request.yml

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

Annotations

12 errors and 2 warnings
phpstan / php-stan (8.2): htdocs/core/modules/asset/doc/doc_generic_asset_odt.modules.php#L413
Parameter #1 $line of method CommonDocGenerator::get_substitutionarray_lines() expects CommonObjectLine, CommonObject|stdClass given.
phpstan / php-stan (8.2): htdocs/core/modules/bom/doc/doc_generic_bom_odt.modules.php#L420
Parameter #1 $line of method CommonDocGenerator::get_substitutionarray_lines() expects CommonObjectLine, CommonObject|stdClass given.
phpstan / php-stan (8.2): htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php#L430
Parameter #1 $line of method CommonDocGenerator::get_substitutionarray_lines() expects CommonObjectLine, CommonObject|stdClass given.
phpstan / php-stan (8.2): htdocs/core/modules/contract/doc/doc_generic_contract_odt.modules.php#L424
Parameter #1 $line of method CommonDocGenerator::get_substitutionarray_lines() expects CommonObjectLine, CommonObject|stdClass given.
phpstan / php-stan (8.2): htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php#L486
Parameter #1 $line of method CommonDocGenerator::get_substitutionarray_lines() expects CommonObjectLine, CommonObject|stdClass given.
phpstan / php-stan (8.2): htdocs/core/modules/mrp/doc/doc_generic_mo_odt.modules.php#L412
Parameter #1 $line of method CommonDocGenerator::get_substitutionarray_lines() expects CommonObjectLine, CommonObject|stdClass given.
phpstan / php-stan (8.2): htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php#L617
Parameter #1 $task of method doc_generic_task_odt::get_substitutionarray_tasks() expects Task, array<string, CommonObject|float|int|string>|CommonObject given.
phpstan / php-stan (8.2): htdocs/core/modules/propale/doc/doc_generic_proposal_odt.modules.php#L467
Parameter #1 $line of method CommonDocGenerator::get_substitutionarray_lines() expects CommonObjectLine, CommonObject|stdClass given.
phpstan / php-stan (8.2): htdocs/core/modules/reception/doc/doc_generic_reception_odt.modules.php#L416
Parameter #1 $line of method CommonDocGenerator::get_substitutionarray_lines() expects CommonObjectLine, CommonObject|stdClass given.
phpstan / php-stan (8.2): htdocs/core/modules/supplier_invoice/doc/doc_generic_supplier_invoice_odt.modules.php#L421
Parameter #1 $line of method CommonDocGenerator::get_substitutionarray_lines() expects CommonObjectLine, CommonObject|stdClass given.
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/commondocgenerator.class.php#L938
commondocgenerator.class.php: PhanUndeclaredProperty: Reference to undeclared property \CommonObjectLine-&gt;date_start

Artifacts

Produced during runtime
Name Size
phan-srcrt Expired
361 Bytes
phpstan-srcrt Expired
669 Bytes
precommit-logs
584 Bytes