| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 15 | #[\Temporal\Workflow\WorkflowMethod('fast_workflow')] |
||
| 16 | public function run(string $name, int $count): \Generator |
||
| 17 | { |
||
| 18 | $activity = Workflow::newActivityStub( |
||
| 19 | CommonActivity::class, |
||
| 20 | ActivityOptions::new() |
||
| 21 | ->withStartToCloseTimeout(5) |
||
| 22 | ); |
||
| 23 | $promises = []; |
||
| 24 | |||
| 25 | foreach (range(1, $count) as $item) { |
||
| 26 | $promises[] = $activity->fast($name); |
||
| 27 | } |
||
| 28 | |||
| 29 | return yield Promise::all($promises); |
||
| 30 | } |
||
| 32 |
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