Total Complexity | 8 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 6 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class ServiceProvider extends BaseServiceProvider |
||
13 | { |
||
14 | public function boot(): void |
||
15 | { |
||
16 | $this->bootPublishes(); |
||
17 | $this->bootCommands(); |
||
18 | } |
||
19 | |||
20 | public function register(): void |
||
21 | { |
||
22 | $this->config(); |
||
23 | } |
||
24 | |||
25 | protected function bootCommands(): void |
||
26 | { |
||
27 | $this->commands([ |
||
28 | LangInstall::class, |
||
29 | LangUpdate::class, |
||
30 | LangUninstall::class, |
||
31 | ]); |
||
32 | } |
||
33 | |||
34 | protected function bootPublishes(): void |
||
39 | } |
||
40 | |||
41 | protected function config(): void |
||
42 | { |
||
43 | if ($this->isLumen()) { |
||
44 | $this->app->configure(Config::KEY); |
||
45 | } |
||
46 | |||
47 | $this->mergeConfigFrom(__DIR__ . '/../config/lang-publisher.php', Config::KEY); |
||
48 | } |
||
49 | |||
50 | protected function isLumen(): bool |
||
53 | } |
||
54 | } |
||
55 |
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