Skip to content

Fix & Enable PhanNonClassMethodCall #2846

Fix & Enable PhanNonClassMethodCall

Fix & Enable PhanNonClassMethodCall #2846

Triggered via pull request March 23, 2024 16:20
Status Failure
Total duration 3m 17s
Artifacts 1

phan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
Run phan
Process completed with exit code 1.
Run phan: htdocs/admin/emailcollector_card.php#L521
emailcollector_card.php: PhanNonClassMethodCall: Call to method examine on non-class type string
Run phan: htdocs/comm/propal/class/propal.class.php#L3684
propal.class.php: PhanNonClassMethodCall: Call to method getNomUrl on non-class type null
Run phan: htdocs/commande/class/commande.class.php#L3768
commande.class.php: PhanNonClassMethodCall: Call to method getNomUrl on non-class type null
Run phan: htdocs/compta/facture/tpl/linkedobjectblock.tpl.php#L92
linkedobjectblock.tpl.php: PhanNonClassMethodCall: Call to method getLibStatut on non-class type ?non-empty-mixed
Run phan: htdocs/contrat/class/contrat.class.php#L2098
contrat.class.php: PhanNonClassMethodCall: Call to method getNomUrl on non-class type null
Run phan: htdocs/core/lib/functions.lib.php#L8703
functions.lib.php: PhanNonClassMethodCall: Call to method fetch_optionals on non-class type ?object
Run phan: htdocs/core/tpl/card_presend.tpl.php#L231
card_presend.tpl.php: PhanNonClassMethodCall: Call to method user_get_property on non-class type array|array<string,int>|array<string,string>|array{rowid:int,id:int,fk_user:int,fk_soc:int,firstname:string,lastname:string,login:string,statut:int,entity:string,email:string,gender:int,admin:string,photo:string,fullpath:string,fullname:string,level:int}
Run phan: htdocs/core/tpl/massactions_pre.tpl.php#L184
massactions_pre.tpl.php: PhanNonClassMethodCall: Call to method fetch on non-class type null=
Run phan: htdocs/emailcollector/class/emailcollector.class.php#L1571
emailcollector.class.php: PhanNonClassMethodCall: Call to method messages on non-class type string
Run phan: htdocs/emailcollector/class/emailcollector.class.php#L2706
emailcollector.class.php: PhanNonClassMethodCall: Call to method save on non-class type false|string
Run phan: htdocs/accountancy/admin/subaccount.php#L314
subaccount.php: PhanTypeMismatchArgumentInternal: Argument 1 ($string) is $search_type of type non-zero-int but \urlencode() takes string
Run phan: htdocs/comm/mailing/class/html.formadvtargetemailing.class.php#L275
html.formadvtargetemailing.class.php: PhanTypeInvalidPropertyName: Saw a dynamic usage of an instance property with a name of type non-empty-list<string> but expected the name to be a string
Run phan: htdocs/core/modules/expedition/doc/pdf_espadon.modules.php#L1141
pdf_espadon.modules.php: PhanTypeInvalidPropertyName: Saw a dynamic usage of an instance property with a name of type ?\CommonObject|?non-empty-string|?string but expected the name to be a string
Run phan: htdocs/core/modules/expedition/doc/pdf_rouget.modules.php#L1053
pdf_rouget.modules.php: PhanTypeInvalidPropertyName: Saw a dynamic usage of an instance property with a name of type ?\CommonObject|?non-empty-string|?string but expected the name to be a string
Run phan: htdocs/core/modules/reception/doc/pdf_squille.modules.php#L991
pdf_squille.modules.php: PhanTypeInvalidPropertyName: Saw a dynamic usage of an instance property with a name of type ?\CommonObject|?non-empty-string|?string but expected the name to be a string
Run phan: htdocs/core/modules/reception/doc/pdf_squille.modules.php#L1030
pdf_squille.modules.php: PhanTypeInvalidPropertyName: Saw a dynamic usage of an instance property with a name of type ?\CommonObject|?non-empty-string|?string but expected the name to be a string
Run phan: htdocs/cron/class/cronjob.class.php#L1479
cronjob.class.php: PhanTypeInvalidRightOperandOfNumericOp: Invalid operator: right operand of * is string (expected number)
Run phan: htdocs/cron/class/cronjob.class.php#L1485
cronjob.class.php: PhanTypeInvalidRightOperandOfNumericOp: Invalid operator: right operand of * is string (expected number)
Run phan: htdocs/cron/class/cronjob.class.php#L1496
cronjob.class.php: PhanTypeInvalidRightOperandOfNumericOp: Invalid operator: right operand of * is string (expected number)
Run phan: htdocs/emailcollector/class/emailcollector.class.php#L1798
emailcollector.class.php: PhanUnextractableAnnotation: Saw unextractable annotation for comment '@phan-force-var Webklex\PHPIMAP\Attachment[] $attachments'

Artifacts

Produced during runtime
Name Size
phan-srcrt Expired
1.62 KB