| Total Complexity | 4 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 15 | #[Package('buyers-experience')] |
||
| 16 | class ConfiguredSeoUrlRoute implements SeoUrlRouteInterface |
||
| 17 | { |
||
| 18 | public function __construct( |
||
| 19 | private readonly SeoUrlRouteInterface $decorated, |
||
| 20 | private readonly SeoUrlRouteConfig $config |
||
| 21 | ) { |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getConfig(): SeoUrlRouteConfig |
||
| 25 | { |
||
| 26 | return $this->config; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function prepareCriteria(Criteria $criteria, SalesChannelEntity $salesChannel): void |
||
| 30 | { |
||
| 31 | $this->decorated->prepareCriteria($criteria, $salesChannel); |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getMapping(Entity $entity, ?SalesChannelEntity $salesChannel): SeoUrlMapping |
||
| 37 | } |
||
| 38 | } |
||
| 39 |
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