| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function getUniqueAttributeValues(AttributeInterface $productAttribute): array |
||
| 29 | { |
||
| 30 | $queryBuilder = $this->repository->createQueryBuilder('o'); |
||
| 31 | |||
| 32 | return $queryBuilder |
||
| 33 | ->where('o.attribute = :attribute') |
||
| 34 | ->groupBy('o.' . $productAttribute->getStorageType()) |
||
| 35 | ->setParameter(':attribute', $productAttribute) |
||
| 36 | ->getQuery() |
||
| 37 | ->getResult() |
||
| 38 | ; |
||
| 41 |
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