Fix & Enable PhanNonClassMethodCall #2861
Annotations
11 errors and 10 warnings
Run phan
Process completed with exit code 1.
|
Run phan:
htdocs/admin/emailcollector_card.php#L523
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#L8707
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/eventorganization/core/actions_massactions_mail.inc.php#L123
actions_massactions_mail.inc.php: PhanNonClassMethodCall: Call to method fetch_thirdparty on non-class type ?object
|
Run phan:
htdocs/reception/class/reception.class.php#L734
reception.class.php: PhanNonClassMethodCall: Call to method fetch_lines on non-class type null
|
Run phan:
htdocs/comm/mailing/class/html.formadvtargetemailing.class.php#L336
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/reception/contact.php#L61
contact.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/reception/contact.php#L201
contact.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
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phan-srcrt
Expired
|
1.21 KB |
|