Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
33 | public function set_results_count_mismatch() |
||
34 | { |
||
35 | $scheduleRunContext = new ScheduleRunContext(new Schedule(), new MockTask(), new MockTask()); |
||
36 | |||
37 | $this->expectException(\LogicException::class); |
||
38 | $this->expectExceptionMessage('The number of results (1) does not match the number of due tasks (2).'); |
||
39 | |||
40 | $taskRunContext = new TaskRunContext($scheduleRunContext, new MockTask()); |
||
41 | $taskRunContext->setResult(Result::successful(new MockTask())); |
||
42 | |||
43 | $scheduleRunContext->setTaskRunContexts($taskRunContext); |
||
44 | } |
||
46 |
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