Total Complexity | 5 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 63.64% |
Changes | 0 |
1 | <?php |
||
9 | final class CorrectAnswersAssert extends Assert |
||
10 | { |
||
11 | /** |
||
12 | * @throws WrongAnswerException |
||
13 | */ |
||
14 | 3 | public static function assertCorrectAnswers(array $answers): void |
|
24 | } |
||
25 | } |
||
26 | 2 | } |
|
27 | |||
28 | private static function compareAnswers(array $right, array $answer): bool |
||
29 | { |
||
30 | return self::splitToLine($right) !== self::splitToLine($answer); |
||
31 | } |
||
32 | |||
33 | private static function splitToLine(array $data): string |
||
36 | } |
||
37 | } |
||
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