EmicoEcommerce/Magento2Tweakwise

View on GitHub
Model/Client.php

Summary

Maintainability
A
2 hrs
Test Coverage

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

    public function handleRequestSuccess(
        ResponseInterface $httpResponse,
        HttpRequest $httpRequest,
        Request $tweakwiseRequest,
    ): Response {
Severity: Minor
Found in Model/Client.php - About 1 hr to fix

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

            Config $config,
            Logger $log,
            ResponseFactory $responseFactory,
            EndpointManager $endpointManager,
            Timer $timer
    Severity: Minor
    Found in Model/Client.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status