| Conditions | 3 |
| Paths | 3 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| 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(static fn (array $item) => strtolower(implode('', $item['l'])), $answers); |
|
| 19 | |||
| 20 | 1 | throw new WrongAnswerException($correct); |
|
| 21 | } |
||
| 35 |
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