nebijokit/dpd-interconnector

View on GitHub

Showing 3 of 3 total issues

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 __construct has 9 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            Authentication $authentication,
            bool $fetchGsPUDOpoint, 
            string $countryCode, 
            ?string $postCode = null, 
            ?string $street = null,
    Severity: Major
    Found in src/Request/ParcelShopSearchRequest.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
        Severity
        Category
        Status
        Source
        Language