PHPStan Level 5 Fehler
Beim Ausführen von PHPStan auf Level 5 gibt es die nachfolgenden Fehler.
Die Fehler wurden ersteinmal in die Baseline übernommen.
Bitte die Fehler sichten und die wichtigsten beheben.
Möglicherweise sind die Fehler nicht mehr aktuell, daher besser PHPStan ohne Baseline selbst ausführen.
-
ajax/backend/IncomingPayments/addTransaction.php:20:Call to static method getInstance() on an unknown class QUI\ERP\Accounting\Payments\Payments.
-
ajax/backend/IncomingPayments/addTransaction.php:26:Call to an undefined method QUI\ERP\ErpEntityInterface&QUI\ERP\ErpTransactionsInterface::getHash().
-
ajax/backend/IncomingPayments/addTransaction.php:29:Parameter #6 $User of static method QUI\ERP\Accounting\Payments\Transactions\Factory::createPaymentTransaction() expects null, QUI\Interfaces\Users\User given.
-
ajax/backend/IncomingPayments/getData.php:66:Call to method getId() on an unknown class QUI\ERP\Accounting\Payments\Types\PaymentInterface.
-
ajax/backend/IncomingPayments/getTransactionList.php:23:Call to static method getInstance() on an unknown class QUI\ERP\Accounting\Payments\Payments.
-
ajax/backend/add.php:30:Call to static method getInstance() on an unknown class QUI\ERP\Accounting\Payments\Payments.
-
ajax/backend/getTransaction.php:35:Call to method toArray() on an unknown class QUI\ERP\Accounting\Payments\Api\AbstractPayment.
-
ajax/backend/hasRefund.php:20:Call to method refundSupport() on an unknown class QUI\ERP\Accounting\Payments\Api\AbstractPayment.
-
ajax/backend/list.php:29:Parameter #1 $from of method QUI\ERP\Accounting\Payments\Transactions\Search::limit() expects int, string given.
-
ajax/backend/list.php:29:Parameter #2 $to of method QUI\ERP\Accounting\Payments\Transactions\Search::limit() expects int, string given.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:56:Parameter $Invoice of method QUI\ERP\Accounting\Payments\Transactions\EventHandler::onQuiqqerInvoiceTemporaryInvoicePostBegin() has invalid type QUI\ERP\Accounting\Invoice\InvoiceTemporary.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:56:Parameter $Invoice of method QUI\ERP\Accounting\Payments\Transactions\EventHandler::onQuiqqerInvoiceTemporaryInvoicePostBegin() has invalid type QUI\ERP\Accounting\Invoice\InvoiceTemporary.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:59:Call to method getInvoiceType() on an unknown class QUI\ERP\Accounting\Invoice\InvoiceTemporary.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:63:Call to method getData() on an unknown class QUI\ERP\Accounting\Invoice\InvoiceTemporary.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:76:Call to method getAttribute() on an unknown class QUI\ERP\Accounting\Invoice\InvoiceTemporary.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:85:Call to method getUUID() on an unknown class QUI\ERP\Accounting\Invoice\InvoiceTemporary.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:88:Call to method addHistory() on an unknown class QUI\ERP\Accounting\Invoice\InvoiceTemporary.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:91:Call to method getCurrency() on an unknown class QUI\ERP\Accounting\Invoice\InvoiceTemporary.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:99:Call to method addHistory() on an unknown class QUI\ERP\Accounting\Invoice\InvoiceTemporary.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:124:Parameter $Payment of method QUI\ERP\Accounting\Payments\Transactions\EventHandler::onTransactionSuccessfullyRefunded() has invalid type QUI\ERP\Accounting\Payments\Api\AbstractPayment.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:124:Parameter $Payment of method QUI\ERP\Accounting\Payments\Transactions\EventHandler::onTransactionSuccessfullyRefunded() has invalid type QUI\ERP\Accounting\Payments\Api\AbstractPayment.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:150:Parameter $Invoice of method QUI\ERP\Accounting\Payments\Transactions\EventHandler::onQuiqqerInvoiceReversalEnd() has invalid type QUI\ERP\Accounting\Invoice\Invoice.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:150:Parameter $Invoice of method QUI\ERP\Accounting\Payments\Transactions\EventHandler::onQuiqqerInvoiceReversalEnd() has invalid type QUI\ERP\Accounting\Invoice\Invoice.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:151:Parameter $CreditNote of method QUI\ERP\Accounting\Payments\Transactions\EventHandler::onQuiqqerInvoiceReversalEnd() has invalid type QUI\ERP\Accounting\Invoice\Invoice.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:151:Parameter $CreditNote of method QUI\ERP\Accounting\Payments\Transactions\EventHandler::onQuiqqerInvoiceReversalEnd() has invalid type QUI\ERP\Accounting\Invoice\Invoice.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:154:Call to method getGlobalProcessId() on an unknown class QUI\ERP\Accounting\Invoice\Invoice.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:160:Call to method getCurrency() on an unknown class QUI\ERP\Accounting\Invoice\Invoice.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:161:Call to method getUUID() on an unknown class QUI\ERP\Accounting\Invoice\Invoice.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:164:Parameter #6 $User of static method QUI\ERP\Accounting\Payments\Transactions\Factory::createPaymentTransaction() expects null, QUI\Interfaces\Users\User given.
-
src/QUI/ERP/Accounting/Payments/Transactions/EventHandler.php:166:Call to method getGlobalProcessId() on an unknown class QUI\ERP\Accounting\Invoice\Invoice.
-
src/QUI/ERP/Accounting/Payments/Transactions/IncomingPayments/PaymentReceiverInterface.php:104:Method QUI\ERP\Accounting\Payments\Transactions\IncomingPayments\PaymentReceiverInterface::getPaymentMethod() has invalid return type QUI\ERP\Accounting\Payments\Types\PaymentInterface.
-
src/QUI/ERP/Accounting/Payments/Transactions/Search.php:322:Call to static method getInstance() on an unknown class QUI\ERP\Accounting\Payments\Payments.
-
src/QUI/ERP/Accounting/Payments/Transactions/Search.php:327:Caught class QUI\ERP\Accounting\Payments\Exception not found.
-
src/QUI/ERP/Accounting/Payments/Transactions/Search.php:328:Parameter #1 $Exception of static method QUI\System\Log::writeException() expects Exception, QUI\ERP\Accounting\Payments\Exception&Throwable given.
-
src/QUI/ERP/Accounting/Payments/Transactions/Transaction.php:139:Method QUI\ERP\Accounting\Payments\Transactions\Transaction::getPayment() has invalid return type QUI\ERP\Accounting\Payments\Api\AbstractPayment.
-
src/QUI/ERP/Accounting/Payments/Transactions/Transaction.php:139:Method QUI\ERP\Accounting\Payments\Transactions\Transaction::getPayment() has invalid return type QUI\ERP\Accounting\Payments\Api\AbstractPayment.
-
src/QUI/ERP/Accounting/Payments/Transactions/Transaction.php:142:Call to static method getInstance() on an unknown class QUI\ERP\Accounting\Payments\Payments.
-
src/QUI/ERP/Accounting/Payments/Transactions/Transaction.php:145:Caught class QUI\ERP\Accounting\Payments\Exception not found.
-
src/QUI/ERP/Accounting/Payments/Transactions/Transaction.php:206:Call to method refundSupport() on an unknown class QUI\ERP\Accounting\Payments\Api\AbstractPayment.
-
src/QUI/ERP/Accounting/Payments/Transactions/Transaction.php:210:Call to method getTitle() on an unknown class QUI\ERP\Accounting\Payments\Api\AbstractPayment.
-
src/QUI/ERP/Accounting/Payments/Transactions/Transaction.php:264:Call to method refund() on an unknown class QUI\ERP\Accounting\Payments\Api\AbstractPayment.