fix(phpstan): remove unreachable branches and add method existence checks
This commit removes unreachable 'else' branches and irrelevant PHPStan error messages from the PHPStan configuration file. It also updates the `InvoiceView` and `OutputProviderInvoice` classes to add checks for the existence of methods before invoking them. This prevents runtime errors in cases where the methods do not exist. Related: #153
Übergeordneter
5eb74125
No related branches found
No related tags found
- phpstan-baseline.neon 0 Ergänzungen, 20 Löschungenphpstan-baseline.neon
- src/QUI/ERP/Accounting/Invoice/InvoiceView.php 7 Ergänzungen, 10 Löschungensrc/QUI/ERP/Accounting/Invoice/InvoiceView.php
- src/QUI/ERP/Accounting/Invoice/Output/OutputProviderInvoice.php 7 Ergänzungen, 2 Löschungen...I/ERP/Accounting/Invoice/Output/OutputProviderInvoice.php
Bitte registrieren oder Anmelden zum Kommentieren