glhd/laravel-addressing

View on GitHub

Showing 2 of 6 total issues

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

        CountryRepositoryInterface $country_repository,
        SubdivisionRepositoryInterface $subdivision_repository,
        AddressFormatRepositoryInterface $address_format_repository,
        string $locale = 'en',
        string $fallback_locale = 'en'
Severity: Minor
Found in src/LaravelAddressing.php - About 35 mins to fix

    Avoid too many return statements within this method.
    Open

            return $parent === $subdivision->getParent();
    Severity: Major
    Found in src/Entity/Subdivision.php - About 30 mins to fix
      Severity
      Category
      Status
      Source
      Language