apparat/object

View on GitHub
src/Object/Domain/Repository/Selector.php

Summary

Maintainability
A
2 hrs
Test Coverage

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

        TypeServiceInterface $typeService,
        $year = self::WILDCARD,
        $month = self::WILDCARD,
        $day = self::WILDCARD,
        $hour = self::WILDCARD,
Severity: Major
Found in src/Object/Domain/Repository/Selector.php - About 1 hr to fix

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

            $year = self::WILDCARD,
            $month = self::WILDCARD,
            $day = self::WILDCARD,
            $hour = self::WILDCARD,
            $minute = self::WILDCARD,
    Severity: Minor
    Found in src/Object/Domain/Repository/Selector.php - About 45 mins to fix

      The method __construct has 12 parameters. Consider reducing the number of parameters to less than 10.
      Open

          public function __construct(
              TypeServiceInterface $typeService,
              $year = self::WILDCARD,
              $month = self::WILDCARD,
              $day = self::WILDCARD,

      There are no issues that match your filters.

      Category
      Status