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