Total Complexity | 6 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class ApieLumenServiceProvider extends ServiceProvider |
||
12 | { |
||
13 | public function boot() |
||
14 | { |
||
15 | $config = $this->app->get('apie.config'); |
||
16 | if ($config['disable-routes']) { |
||
17 | return; |
||
18 | } |
||
19 | if ($config['swagger-ui-test-page']) { |
||
20 | include __DIR__ . '/../../config/routes-lumen-openapi.php'; |
||
21 | } |
||
22 | include __DIR__ . '/../../config/routes-lumen.php'; |
||
23 | } |
||
24 | |||
25 | public function register() |
||
44 | } |
||
45 | ); |
||
48 |
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