| Conditions | 3 |
| Paths | 4 |
| Total Lines | 16 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | #[Workflow\QueryMethod] |
||
| 21 | public function getStatus(): array |
||
| 22 | { |
||
| 23 | $time = $this->end > 0 ? $this->end - $this->start : '---'; |
||
| 24 | $status = $this->status === 'done' |
||
| 25 | ? sprintf( |
||
| 26 | 'Processed %d tasks in %f seconds.', |
||
| 27 | count($this->done), |
||
| 28 | $time |
||
| 29 | ) |
||
| 30 | : $this->status; |
||
| 31 | |||
| 32 | return [ |
||
| 33 | 'status' => $status, |
||
| 34 | 'total time' => $time, |
||
| 35 | 'done' => $this->done, |
||
| 36 | ]; |
||
| 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