| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 3.1406 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | 35 | public function boot(): void |
|
| 15 | { |
||
| 16 | 35 | if (! $this->app->runningInConsole()) { |
|
| 17 | return; |
||
| 18 | } |
||
| 19 | |||
| 20 | 35 | if (! $this->app instanceof Laravel) { |
|
| 21 | return; |
||
| 22 | } |
||
| 23 | |||
| 24 | 35 | $this->publishes( |
|
| 25 | [ |
||
| 26 | 35 | $this->getConfigPath() => config_path('query-builder.php'), |
|
| 27 | ], |
||
| 28 | 35 | 'config' |
|
| 29 | ); |
||
| 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