| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class DefaultBranchIterator extends IteratorIterator implements BranchIterator |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @param list<string> $countries |
||
|
|
|||
| 17 | * @param \Traversable<int,\Inspirum\Balikobot\Model\Branch\Branch> $iterator |
||
| 18 | */ |
||
| 19 | 221 | public function __construct( |
|
| 20 | private readonly ?string $carrier, |
||
| 21 | private readonly ?string $service, |
||
| 22 | private readonly ?array $countries, |
||
| 23 | Traversable $iterator, |
||
| 24 | ) { |
||
| 25 | 221 | parent::__construct($iterator); |
|
| 26 | } |
||
| 27 | |||
| 28 | 9 | public function getCarrier(): ?string |
|
| 29 | { |
||
| 30 | 9 | return $this->carrier; |
|
| 31 | } |
||
| 32 | |||
| 33 | 9 | public function getService(): ?string |
|
| 36 | } |
||
| 37 | |||
| 38 | /** @inheritDoc */ |
||
| 39 | 9 | public function getCountries(): ?array |
|
| 42 | } |
||
| 43 | } |
||
| 44 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths