Skip to content

fix missing translations #2163

fix missing translations

fix missing translations #2163

Triggered via pull request February 6, 2025 12:31
Status Failure
Total duration 5m 41s
Artifacts 3

ci-on-pull_request.yml

on: pull_request
pre-commit  /  pre-commit
1m 59s
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 3 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
phan / Run phan: htdocs/public/donations/donateurs_code.php#L70
donateurs_code.php: PhanTypeMismatchArgumentProbablyReal: Argument 2 ($alt) is 'main' of type 'main' but \Translate::load() takes int (no real type) defined at htdocs/core/class/translate.class.php:257 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

Artifacts

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