Conditions | 3 |
Paths | 4 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
40 | protected function isGlobalHelp(array $argv): bool |
||
41 | { |
||
42 | // For a specific help, it would be [cmd, task, action, --help] |
||
43 | // If it is just [cmd, --help] then we deduce it is global help! |
||
44 | |||
45 | $isGlobal = ($argv[1][0] ?? '-') === '-' && ($argv[2][0] ?? '-') === '-'; |
||
46 | |||
47 | return $isGlobal && $this->isHelp($argv); |
||
48 | } |
||
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