nebijokit/dpd-interconnector

View on GitHub
src/Request/ShipmentRequest.php

Summary

Maintainability
A
2 hrs
Test Coverage

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

        Authentication $auth,
        string $name,
        string $street, 
        string $city,
        string $country,
Severity: Major
Found in src/Request/ShipmentRequest.php - About 1 hr to fix

    Method toArray has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function toArray(): array
        {
            $request = array_merge(
                $this->authentication->toArray(),
                [
    Severity: Minor
    Found in src/Request/ShipmentRequest.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status