eventfarm/marketo-client

View on GitHub
src/MarketoClient.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method withDefaults has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        string $accessToken,
        int $tokenExpiresIn,
        int $tokenLastRefresh,
        string $clientId,
        string $clientSecret,
Severity: Major
Found in src/MarketoClient.php - About 1 hr to fix

    Method with has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            RestClientInterface $restClient,
            MarketoProviderInterface $marketoProvider,
            string $accessToken,
            int $tokenExpiresIn,
            int $tokenLastRefresh,
    Severity: Major
    Found in src/MarketoClient.php - About 50 mins to fix

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

              RestClientInterface $restClient,
              MarketoProviderInterface $marketoProvider,
              AccessToken $accessToken,
              $tokenRefreshObject,
              int $maxRetryRequests
      Severity: Minor
      Found in src/MarketoClient.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status