Conditions | 3 |
Paths | 4 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 4 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function boot(Router $router) |
||
20 | { |
||
21 | if (function_exists('config_path')) { |
||
22 | $this->publishes([ |
||
23 | __DIR__ . '/../config/apikey.php' => config_path('apikey.php'), |
||
24 | ], 'config'); |
||
25 | } |
||
26 | |||
27 | if (function_exists('database_path')) { |
||
28 | $this->publishes([ |
||
29 | __DIR__ . '/../../database/migrations/' => database_path('/migrations') |
||
30 | ]); |
||
31 | } |
||
32 | |||
33 | $this->registerMiddleware($router); |
||
34 | } |
||
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