| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | 1 | public function register(): void |
|
| 28 | { |
||
| 29 | 1 | $this->setupConfig(); |
|
| 30 | |||
| 31 | $this->app->singleton('command.phpcs.fix', function () { |
||
| 32 | 1 | return new PhpCsCommand(); |
|
| 33 | 1 | }); |
|
| 34 | |||
| 35 | $this->app->singleton('command.phpcs.install-hook', function () { |
||
| 36 | 1 | return new HookSetupCommand(); |
|
| 37 | 1 | }); |
|
| 38 | |||
| 39 | 1 | $this->commands('command.phpcs.fix'); |
|
| 40 | 1 | $this->commands('command.phpcs.install-hook'); |
|
| 41 | 1 | } |
|
| 57 |
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