Skip to content

PHPStan Level 1 Errors

Wie gemeinsam besprochen, sollen in allen wichtigen QUIQQER Paketen die PHPStan Fehler bis inklusive Level 1 behoben werden.

In diesem Paket gibt es die folgenden Errors auf dem dev-Branch:

 ------ ---------------------------------------------------------------
  Line   src/QUI/ERP/Accounting/Invoice/Invoice.php
 ------ ---------------------------------------------------------------
  1871   Variable $Customer in empty() always exists and is not falsy.
 ------ ---------------------------------------------------------------

 ------ -----------------------------------------------------
  Line   src/QUI/ERP/Accounting/Invoice/InvoiceTemporary.php
 ------ -----------------------------------------------------
  527    Variable $editorId in empty() is never defined.
 ------ -----------------------------------------------------

 ------ -----------------------------------------------------------------
  Line   src/QUI/ERP/Accounting/Invoice/Utils/Invoice.php
 ------ -----------------------------------------------------------------
  345    Variable $message in empty() always exists and is always falsy.
 ------ -----------------------------------------------------------------


 [ERROR] Found 3 errors