Debug v21 #26
Annotations
2 errors and 6 warnings
Add results to PR
Process completed with exit code 1.
|
Run Phan analysis
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Add results to PR:
htdocs/core/class/commoninvoice.class.php#L537
commoninvoice.class.php: PhanPossiblyNullTypeMismatchProperty: Assigning $num of type ?int to property but \CommonInvoice->nbofopendirectdebitorcredittransfer is int (null is incompatible)
|
Add results to PR:
htdocs/core/class/commoninvoice.class.php#L537
commoninvoice.class.php: PhanPossiblyUndeclaredVariable: Variable $num is possibly undeclared
|
Add results to PR:
htdocs/fourn/facture/card.php#L4070
card.php: PhanDeprecatedClassConstant: Reference to deprecated class constant \FactureFournisseur::TYPE_PROFORMA defined at htdocs/core/class/commoninvoice.class.php:238 (Deprecated because: Remove this. A "proforma invoice" is an order with a look of invoice, not an invoice !)
|
Add results to PR:
htdocs/webportal/class/webportalinvoice.class.php#L341
webportalinvoice.class.php: PhanParamSignatureMismatch: Declaration of function LibStatut(int $paye, int $status, int $mode = 0, int $alreadypaid = unknown, int $type = unknown) : string should be compatible with function LibStatut(int $paye, int $status, int $mode = 0, int $alreadypaid = unknown, int $type = unknown, int $nbofopendirectdebitorcredittransfer = 0) : string defined in htdocs/core/class/commoninvoice.class.php:920 (Saw fewer optional parameters in the override)
|
Add results to PR:
htdocs/webportal/class/webportalinvoice.class.php#L341
webportalinvoice.class.php: PhanParamSignatureRealMismatchTooFewParameters: Declaration of function LibStatut($paye, $status, $mode = 0, $alreadypaid = unknown, $type = unknown) should be compatible with function LibStatut($paye, $status, $mode = 0, $alreadypaid = unknown, $type = unknown, $nbofopendirectdebitorcredittransfer = 0) (the method override accepts 5 parameter(s), but the overridden method can accept 6) defined in htdocs/core/class/commoninvoice.class.php:920
|
Loading