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/Payments/Methods/Free/PaymentType.php
------ -------------------------------------------------------------------------------------------------------------
22 Constructor of class QUI\ERP\Accounting\Payments\Methods\Free\PaymentType has an unused parameter $Factory.
22 Constructor of class QUI\ERP\Accounting\Payments\Methods\Free\PaymentType has an unused parameter $id.
------ -------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------
Line src/QUI/ERP/Accounting/Payments/Types/Factory.php
------ ---------------------------------------------------
39 Anonymous function has an unused use $self.
------ ---------------------------------------------------
[ERROR] Found 3 errors