| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 30 | 
| Code Lines | 18 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 2 | ||
| Bugs | 1 | Features | 0 | 
| 1 | <?php | ||
| 39 |     #[\Temporal\Workflow\WorkflowMethod('long_workflow')] | ||
| 40 | public function run(string $name, int $count): \Generator | ||
| 41 |     { | ||
| 42 | $activity = Workflow::newActivityStub( | ||
| 43 | CommonActivity::class, | ||
| 44 | ActivityOptions::new() | ||
| 45 | ->withStartToCloseTimeout(6) | ||
| 46 | ); | ||
| 47 | |||
| 48 | $promises = []; | ||
| 49 | |||
| 50 |         foreach (range(1, $count) as $item) { | ||
| 51 | $promises[] = $activity->slow($name) | ||
| 52 | ->then( | ||
| 53 |                     function ($result) use ($item) { | ||
| 54 | $this->start = min($this->start, $result['start']); | ||
| 55 | $this->end = max($this->end, $result['end']); | ||
| 56 | $this->done['Task #' . $item] = $result; | ||
| 57 | return $result; | ||
| 58 | } | ||
| 59 | ); | ||
| 60 | } | ||
| 61 | |||
| 62 | $this->status = 'processing'; | ||
| 63 | |||
| 64 | $result = yield Promise::all($promises); | ||
| 65 | |||
| 66 | $this->status = 'done'; | ||
| 67 | |||
| 68 | return $result; | ||
| 69 | } | ||
| 71 | 
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