| Total Complexity | 5 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 60% |
| 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 |
|
| 21 | } |
||
| 22 | } |
||
| 23 | 2 | } |
|
| 24 | |||
| 25 | private static function compareAnswers(array $right, array $answer): bool |
||
| 26 | { |
||
| 27 | return self::splitToLine($right) !== self::splitToLine($answer); |
||
| 28 | } |
||
| 29 | |||
| 30 | private static function splitToLine(array $data): string |
||
| 33 | } |
||
| 34 | } |
||
| 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