| Conditions | 4 | 
| Paths | 4 | 
| Total Lines | 21 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 17 | public function before(Console $console) | ||
| 18 |     { | ||
| 19 | $argv = $console->argv(); | ||
| 20 | $app = $console->app(); | ||
| 21 | $command = $app->commandFor($argv); | ||
| 22 | |||
| 23 |         if ($this->isVersion($argv)) { | ||
| 24 | return $command->showVersion(); | ||
| 25 | } | ||
| 26 | |||
| 27 |         if ($this->isGlobalHelp($argv)) { | ||
| 28 | return $app->showHelp(); | ||
| 29 | } | ||
| 30 | |||
| 31 |         if ($this->isHelp($argv)) { | ||
| 32 | return $command->showHelp(); | ||
| 33 | } | ||
| 34 | |||
| 35 |         $this->di()->setShared('command', $app->parse($argv)); | ||
| 36 | |||
| 37 | return true; | ||
| 38 | } | ||
| 60 | 
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