| Total Complexity | 5 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 9 | class LaravelBitpayServiceProvider extends ServiceProvider |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Bootstrap the application services. |
||
| 13 | */ |
||
| 14 | public function boot() |
||
| 15 | { |
||
| 16 | if ($this->app->runningInConsole()) { |
||
| 17 | $this->publishes([ |
||
| 18 | __DIR__.'/../config/laravel-bitpay.php' => config_path('laravel-bitpay.php'), |
||
| 19 | ], 'config'); |
||
| 20 | } |
||
| 21 | |||
| 22 | $this->defineRoutes(); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Register the application services. |
||
| 27 | */ |
||
| 28 | public function register() |
||
| 34 | ]); |
||
| 35 | } |
||
| 36 | |||
| 37 | protected function defineRoutes() |
||
| 49 |
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