| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function can_set_a_default_timezone() |
||
| 19 | { |
||
| 20 | $tasks = (new MockScheduleBuilder()) |
||
| 21 | ->addTask(new MockTask()) |
||
| 22 | ->addTask((new MockTask())->timezone('America/New_York')) |
||
| 23 | ->addSubscriber(new TimezoneSubscriber('UTC')) |
||
| 24 | ->getRunner() |
||
| 25 | ->buildSchedule() |
||
| 26 | ->all() |
||
| 27 | ; |
||
| 28 | |||
| 29 | $this->assertSame('UTC', $tasks[0]->getTimezone()->getName()); |
||
| 30 | $this->assertSame('America/New_York', $tasks[1]->getTimezone()->getName()); |
||
| 31 | } |
||
| 33 |
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