Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | final class SpeedscopeConverterSettingsFromConsoleInput |
||
22 | { |
||
23 | /** @codeCoverageIgnore */ |
||
24 | public function setOptions(Command $command): void |
||
25 | { |
||
26 | $command |
||
27 | ->addOption( |
||
28 | 'utf8-errors', |
||
29 | null, |
||
30 | InputOption::VALUE_REQUIRED, |
||
31 | 'utf8 error handling type (ignore|substitute|fail)', |
||
32 | 'ignore' |
||
33 | ); |
||
34 | ; |
||
35 | } |
||
36 | |||
37 | public function createSettings(InputInterface $input): SpeedscopeConverterSettings |
||
42 | ), |
||
43 | ); |
||
44 | } |
||
45 | |||
46 | private function utf8ErrorHandlingTypeFromString(string $input): Utf8ErrorHandlingType |
||
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