mundipagg/magento2

View on GitHub
Gateway/Transaction/Base/Command/InitializeCommand.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method doCoreDetour has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function doCoreDetour($payment)
    {
        $order =  $payment->getOrder();

        $log = new OrderLogService();
Severity: Major
Found in Gateway/Transaction/Base/Command/InitializeCommand.php - About 2 hrs to fix

    Method execute has 38 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function execute(array $commandSubject)
        {
            /** @var \Magento\Framework\DataObject $stateObject */
            $stateObject = $commandSubject['stateObject'];
            $paymentDO = SubjectReader::readPayment($commandSubject);
    Severity: Minor
    Found in Gateway/Transaction/Base/Command/InitializeCommand.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status