| Conditions | 3 |
| Paths | 4 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | public function boot(): void |
||
| 20 | { |
||
| 21 | $router = $this->app->make(RealtimeCompiler::class); |
||
| 22 | |||
| 23 | $router->registerVirtualRoute('/ping', [VirtualRouteController::class, 'ping']); |
||
| 24 | |||
| 25 | if (DashboardController::enabled()) { |
||
| 26 | $router->registerVirtualRoute('/dashboard', [VirtualRouteController::class, 'dashboard']); |
||
| 27 | } |
||
| 28 | |||
| 29 | if (LiveEditController::enabled()) { |
||
| 30 | $router->registerVirtualRoute('/_hyde/live-edit', [VirtualRouteController::class, 'liveEdit']); |
||
| 31 | } |
||
| 34 |
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