| Total Complexity | 10 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 11 | #[Package('customer-order')] |
||
| 12 | class TaxRuleCollection extends EntityCollection |
||
| 13 | { |
||
| 14 | public function sortByTypePosition(): void |
||
| 17 | } |
||
| 18 | |||
| 19 | public function filterByTypePosition(int $position): TaxRuleCollection |
||
| 20 | { |
||
| 21 | return $this->filter(fn (TaxRuleEntity $taxRule) => $taxRule->getType()->getPosition() === $position); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function highestTypePosition(): ?TaxRuleEntity |
||
| 27 | } |
||
| 28 | |||
| 29 | public function latestActivationDate(): ?TaxRuleEntity |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getApiAlias(): string |
||
| 37 | } |
||
| 38 | |||
| 39 | protected function getExpectedClass(): string |
||
| 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