elisei/pagbank-payment-magento

View on GitHub
Model/Console/Command/Orders/Update.php

Summary

Maintainability
A
35 mins
Test Coverage

Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        State $state,
        SearchCriteriaBuilder $searchCriteria,
        OrderRepositoryInterface $orderRepository,
        DateTime $date,
        TimezoneInterface $localeDate
Severity: Minor
Found in Model/Console/Command/Orders/Update.php - About 35 mins to fix

    Call to method getState on non-class type null
    Open

                $state = $order->getState();
    Severity: Critical
    Found in Model/Console/Command/Orders/Update.php by phan

    Call to method getState on non-class type null
    Open

                    __('Update not available because the initial state is incompatible: %1', $order->getState())
    Severity: Critical
    Found in Model/Console/Command/Orders/Update.php by phan

    There are no issues that match your filters.

    Category
    Status