| Total Complexity | 6 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class ApiAuthServiceProvider extends ServiceProvider |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Bootstrap the application services. |
||
| 16 | * |
||
| 17 | * @return void |
||
| 18 | */ |
||
| 19 | public function boot(Router $router) |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Register the application services. |
||
| 38 | * |
||
| 39 | * @return void |
||
| 40 | */ |
||
| 41 | public function register() |
||
| 47 | ]); |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Register middleware |
||
| 52 | * |
||
| 53 | * Support added for different Laravel versions |
||
| 54 | * |
||
| 55 | * @param Router $router |
||
| 56 | */ |
||
| 57 | protected function registerMiddleware(Router $router) |
||
| 68 |
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