| Conditions | 2 |
| Paths | 2 |
| Total Lines | 23 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 5 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 15 | public function boot(): void |
||
| 16 | { |
||
| 17 | |||
| 18 | // About |
||
| 19 | AboutCommand::add('Bookwhen', fn () => ['Version' => '1.0.0']); |
||
| 20 | |||
| 21 | // Bind |
||
| 22 | $this->app->bind('bookwhen', function ($app) { |
||
| 23 | return new Bookwhen(config('bookwhen.api_key')); |
||
| 24 | }); |
||
| 25 | |||
| 26 | // Config |
||
| 27 | if ($this->app->runningInConsole()) { |
||
| 28 | $this->publishes([ |
||
| 29 | __DIR__ . '/../config/bookwhen.php' => config_path('bookwhen.php') |
||
| 30 | ]); |
||
| 31 | } |
||
| 32 | |||
| 33 | // Routes |
||
| 34 | $this->registerRoutes(); |
||
| 35 | |||
| 36 | // Views |
||
| 37 | $this->loadViewsFrom(__DIR__.'/../resources/views', 'bookwhen'); |
||
| 38 | |||
| 76 |
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