Qual: Fix multiple Phan notices #1906
Annotations
2 errors and 7 warnings
Add results to PR
Process completed with exit code 1.
|
Run Phan analysis
Process completed with exit code 1.
|
Add results to PR:
htdocs/comm/propal/class/propal.class.php#L718
propal.class.php: PhanTypeMismatchArgumentNullableInternal: Argument 2 ($num2) is $product->packaging of type ?float but \fmod() takes float (expected type to be non-nullable)
|
Add results to PR:
htdocs/comm/propal/class/propal.class.php#L775
propal.class.php: PhanPossiblyNullTypeMismatchProperty: Assigning $qty of type ?float to property but \PropaleLigne->qty is float (null is incompatible)
|
Add results to PR:
htdocs/commande/class/commande.class.php#L1643
commande.class.php: PhanTypeMismatchArgumentNullableInternal: Argument 2 ($num2) is $product->packaging of type ?float but \fmod() takes float (expected type to be non-nullable)
|
Add results to PR:
htdocs/commande/class/commande.class.php#L1706
commande.class.php: PhanPossiblyNullTypeMismatchProperty: Assigning $qty of type ?float to property but \OrderLine->qty is float (null is incompatible)
|
Add results to PR:
htdocs/compta/facture/class/facture.class.php#L4008
facture.class.php: PhanTypeMismatchArgumentNullableInternal: Argument 2 ($num2) is $product->packaging of type ?float but \fmod() takes float (expected type to be non-nullable)
|
Add results to PR:
htdocs/fichinter/class/api_interventions.class.php#L428
api_interventions.class.php: PhanPluginUnknownArrayMethodParamType: Method \Interventions::_validate has a parameter type of array for $data, but does not specify any key types or value types (Types inferred after analysis: ?array<string,string>)
|
Add results to PR:
htdocs/fichinter/class/api_interventions.class.php#L428
api_interventions.class.php: PhanPluginUnknownArrayMethodReturnType: Method \Interventions::_validate() has a return type of array, but does not specify any key types or value types
|
Loading