ryanwinchester/hubspot-php

View on GitHub
src/Endpoints/Timeline.php

Summary

Maintainability
B
4 hrs
Test Coverage

Method createOrUpdate has 9 arguments (exceeds 4 allowed). Consider refactoring.
Open

        $appId,
        $eventTypeId,
        $id,
        $objectId = null,
        $email = null,
Severity: Major
Found in src/Endpoints/Timeline.php - About 1 hr to fix

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

            $appId,
            $eventTypeId,
            $eventTypePropertyId,
            $name,
            $label,
    Severity: Major
    Found in src/Endpoints/Timeline.php - About 50 mins to fix

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

              $appId,
              $eventTypeId,
              $name,
              $label,
              $propertyType,
      Severity: Major
      Found in src/Endpoints/Timeline.php - About 50 mins to fix

        Method updateEventType has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                $appId,
                $eventTypeId,
                $name = null,
                $headerTemplate = null,
                $detailTemplate = null,
        Severity: Minor
        Found in src/Endpoints/Timeline.php - About 45 mins to fix

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

                  $appId,
                  $name,
                  $headerTemplate = null,
                  $detailTemplate = null,
                  $objectType = null
          Severity: Minor
          Found in src/Endpoints/Timeline.php - About 35 mins to fix

            There are no issues that match your filters.

            Category
            Status