Fix & Enable PhanNonClassMethodCall #2846
Annotations
11 errors and 10 warnings
Run Phan analysis
Process completed with exit code 1.
|
Add results to PR:
htdocs/admin/emailcollector_card.php#L521
emailcollector_card.php: PhanNonClassMethodCall: Call to method examine on non-class type string
|
Add results to PR:
htdocs/comm/propal/class/propal.class.php#L3684
propal.class.php: PhanNonClassMethodCall: Call to method getNomUrl on non-class type null
|
Add results to PR:
htdocs/commande/class/commande.class.php#L3768
commande.class.php: PhanNonClassMethodCall: Call to method getNomUrl on non-class type null
|
Add results to PR:
htdocs/compta/facture/tpl/linkedobjectblock.tpl.php#L92
linkedobjectblock.tpl.php: PhanNonClassMethodCall: Call to method getLibStatut on non-class type ?non-empty-mixed
|
Add results to PR:
htdocs/contrat/class/contrat.class.php#L2098
contrat.class.php: PhanNonClassMethodCall: Call to method getNomUrl on non-class type null
|
Add results to PR:
htdocs/core/lib/functions.lib.php#L8703
functions.lib.php: PhanNonClassMethodCall: Call to method fetch_optionals on non-class type ?object
|
Add results to PR:
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}
|
Add results to PR:
htdocs/core/tpl/massactions_pre.tpl.php#L184
massactions_pre.tpl.php: PhanNonClassMethodCall: Call to method fetch on non-class type null=
|
Add results to PR:
htdocs/emailcollector/class/emailcollector.class.php#L1571
emailcollector.class.php: PhanNonClassMethodCall: Call to method messages on non-class type string
|
Add results to PR:
htdocs/emailcollector/class/emailcollector.class.php#L2706
emailcollector.class.php: PhanNonClassMethodCall: Call to method save on non-class type false|string
|
Add results to PR:
htdocs/accountancy/admin/subaccount.php#L314
subaccount.php: PhanTypeMismatchArgumentInternal: Argument 1 ($string) is $search_type of type non-zero-int but \urlencode() takes string
|
Add results to PR:
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
|
Add results to PR:
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
|
Add results to PR:
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
|
Add results to PR:
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
|
Add results to PR:
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
|
Add results to PR:
htdocs/cron/class/cronjob.class.php#L1479
cronjob.class.php: PhanTypeInvalidRightOperandOfNumericOp: Invalid operator: right operand of * is string (expected number)
|
Add results to PR:
htdocs/cron/class/cronjob.class.php#L1485
cronjob.class.php: PhanTypeInvalidRightOperandOfNumericOp: Invalid operator: right operand of * is string (expected number)
|
Add results to PR:
htdocs/cron/class/cronjob.class.php#L1496
cronjob.class.php: PhanTypeInvalidRightOperandOfNumericOp: Invalid operator: right operand of * is string (expected number)
|
Add results to PR:
htdocs/emailcollector/class/emailcollector.class.php#L1798
emailcollector.class.php: PhanUnextractableAnnotation: Saw unextractable annotation for comment '@phan-force-var Webklex\PHPIMAP\Attachment[] $attachments'
|
Loading