| 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 |
||
| 55 | 1 | private function parseNode(AttributeNodeInterface $parent, Node ...$astNodes): NodeInterface |
|
| 56 | { |
||
| 57 | 1 | return array_reduce( |
|
| 58 | 1 | $astNodes, |
|
| 59 | function (AttributeNodeInterface $carry, Node $astNode): NodeInterface { |
||
| 60 | return $carry |
||
| 61 | 1 | ->add( |
|
| 62 | 1 | $this->parseNode( |
|
| 63 | 1 | $this->createNode([ |
|
| 64 | 1 | 'label' => $this->metadata[$astNode->kind]->name, |
|
| 65 | 1 | 'astNode' => $astNode, |
|
| 66 | ]), |
||
| 67 | 1 | ...array_values(array_filter($astNode->children, 'is_object')) |
|
| 68 | ) |
||
| 69 | ); |
||
| 70 | 1 | }, |
|
| 71 | $parent |
||
| 72 | ); |
||
| 75 |
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