PHPStan baseline #225
Annotations
10 errors
phpstan:
htdocs/comm/action/index.php#L2008
Parameter #1 $arraycolor of function colorArrayToHex expects array{int, int, int}, non-empty-list<string> given.
|
phpstan:
htdocs/core/class/commoninvoice.class.php#L537
Variable $num might not be defined.
|
phpstan:
htdocs/core/class/commoninvoice.class.php#L539
Method CommonInvoice::getListOfOpenDirectDebitOrCreditTransfer() should return array<array{amount: float|int, date: int, num: string, ref: string, ref_ext?: string, fk_bank_line?: int, type: string}> but returns list<array{id: mixed, invoiceid: int, date: ''|int, amount: mixed}>.
|
phpstan:
htdocs/core/class/doleditor.class.php#L213
Property DolEditor::$content (string) on left side of ?? is not nullable.
|
phpstan:
htdocs/fourn/facture/card.php#L1642
Comparison operation "<" between '' and 0 is always true.
|
phpstan:
htdocs/fourn/facture/card.php#L1642
Result of || is always true.
|
phpstan:
htdocs/fourn/facture/card.php#L4072
If condition is always true.
|
phpstan:
htdocs/salaries/card.php#L472
Variable $triggermodname in empty() always exists and is not falsy.
|
phpstan:
htdocs/webportal/class/webportalinvoice.class.php#L341
Method WebPortalInvoice::LibStatut() overrides method CommonInvoice::LibStatut() but misses parameter #6 $nbofopendirectdebitorcredittransfer.
|
phpstan
Process completed with exit code 1.
|