Conditions | 3 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
14 | 3 | public static function assertCorrectAnswers(array $answers): void |
|
15 | { |
||
16 | 3 | foreach ($answers as $item) { |
|
17 | 2 | if (self::compareAnswers($item['l'], $item['v'])) { |
|
18 | 1 | $correct = array_map( |
|
19 | 1 | static fn (array $item): string => strtolower(implode('', $item['l'])), |
|
20 | $answers |
||
21 | ); |
||
22 | |||
23 | 1 | throw new WrongAnswerException($correct); |
|
24 | } |
||
38 |
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