Total Complexity | 4 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class NovaNotificationFeedServiceProvider extends ServiceProvider |
||
11 | { |
||
12 | /** |
||
13 | * Bootstrap any application services. |
||
14 | * |
||
15 | * @return void |
||
16 | */ |
||
17 | public function boot() |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Register the tool's routes. |
||
35 | * |
||
36 | * @return void |
||
37 | */ |
||
38 | protected function routes() |
||
39 | { |
||
40 | if ($this->app->routesAreCached()) { |
||
41 | return; |
||
42 | } |
||
43 | |||
44 | Route::middleware(['nova']) |
||
45 | ->prefix('nova-vendor/nova-notifications') |
||
46 | ->namespace('Coreproc\NovaNotificationFeed\Http\Controllers') |
||
47 | ->group(__DIR__ . '/../routes/api.php'); |
||
48 | |||
49 | Route::middleware(['nova']) |
||
50 | ->prefix('nova-vendor/nova-notifications') |
||
51 | ->group(__DIR__ . '/../routes/channels.php'); |
||
52 | } |
||
53 | |||
54 | /** |
||
55 | * Register any application services. |
||
56 | * |
||
57 | * @return void |
||
58 | */ |
||
59 | public function register() |
||
61 | // |
||
62 | } |
||
64 |
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