mundipagg/magento2

View on GitHub
Concrete/Magento2PlatformInvoiceDecorator.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method createFor has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function createFor(PlatformOrderInterface $order)
    {
        $logService = new LogService(
            'Invoice',
            true
Severity: Minor
Found in Concrete/Magento2PlatformInvoiceDecorator.php - About 1 hr to fix

    Method createInvoice has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        private function createInvoice($order)
        {
            $objectManager = ObjectManager::getInstance();
            $invoiceService = $objectManager->get(InvoiceService::class);
            $transaction = $objectManager->get(Transaction::class);
    Severity: Minor
    Found in Concrete/Magento2PlatformInvoiceDecorator.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status