Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 10 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
50 | 1 | private function parseNode(AttributeNodeInterface $parent, Node ...$astNodes): NodeInterface |
|
51 | { |
||
52 | 1 | return array_reduce( |
|
53 | 1 | $astNodes, |
|
54 | function (AttributeNodeInterface $carry, Node $astNode): NodeInterface { |
||
55 | return $carry |
||
56 | 1 | ->add( |
|
57 | 1 | $this->parseNode( |
|
58 | 1 | $this->createNode([ |
|
59 | 1 | 'label' => $this->metadata[$astNode->kind]->name, |
|
60 | 1 | 'astNode' => $astNode, |
|
61 | ]), |
||
62 | 1 | ...array_values(array_filter($astNode->children, 'is_object')) |
|
63 | ) |
||
64 | ); |
||
65 | 1 | }, |
|
66 | $parent |
||
67 | ); |
||
70 |
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