| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | private function getAdmin(): ?ItemInterface |
||
| 39 | { |
||
| 40 | $menu = $this->factory->createItem('foo'); |
||
| 41 | $menu->addChild('list', [ |
||
| 42 | 'route' => 'list', |
||
| 43 | ]); |
||
| 44 | $menu->addChild('foo', [ |
||
| 45 | 'route' => 'foo', |
||
| 46 | ]); |
||
| 47 | $menu->addChild('bar', [ |
||
| 48 | 'route' => 'bar', |
||
| 49 | ]); |
||
| 50 | |||
| 51 | return $menu; |
||
| 52 | } |
||
| 69 |
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