| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function build(array $options = []): ItemInterface |
||
| 24 | { |
||
| 25 | $menu = $this->factory->createItem('root', $options); |
||
| 26 | $event = new MenuEvent($menu); |
||
| 27 | |||
| 28 | $this->eventDispatcher->dispatch($event, MenuEvents::MENU_CREATE); |
||
| 29 | $this->eventDispatcher->dispatch($event, sprintf(MenuEvents::PRE_EVENT_PATTERN, $this->getName())); |
||
| 30 | |||
| 31 | $this->buildMenu($menu); |
||
| 32 | |||
| 33 | $this->eventDispatcher->dispatch($event, MenuEvents::MENU_CREATED); |
||
| 34 | $this->eventDispatcher->dispatch($event, sprintf(MenuEvents::POST_EVENT_PATTERN, $this->getName())); |
||
| 35 | |||
| 36 | return $menu; |
||
| 37 | } |
||
| 39 |
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