Conditions | 3 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | protected function resolveValues($value, array $args, ResolveContext $context, ResolveInfo $info) { |
||
31 | if ($value instanceof MenuLinkTreeElement) { |
||
32 | $options = $value->link->getOptions(); |
||
33 | |||
34 | // Certain attributes like class can be arrays. Check for that and implode them. |
||
35 | $attributeValue = NestedArray::getValue($options, ['attributes', $args['key']]); |
||
36 | if (is_array($attributeValue)) { |
||
37 | yield implode(' ', $attributeValue); |
||
38 | } else { |
||
39 | yield $attributeValue; |
||
40 | } |
||
45 |
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