| Conditions | 2 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | 1 | public function generate(GenerateCriteria $criteria): void |
|
| 20 | { |
||
| 21 | 1 | $counter = 1; |
|
| 22 | do { |
||
| 23 | 1 | $this->messageBus->dispatch( |
|
| 24 | 1 | new GenerateCrosswordMessage( |
|
| 25 | 1 | $criteria->language(), |
|
| 26 | 1 | $criteria->type(), |
|
| 27 | 1 | $criteria->wordCount() |
|
| 28 | ) |
||
| 29 | ); |
||
| 30 | 1 | $counter++; |
|
| 31 | 1 | } while ($counter <= $criteria->limit()); |
|
| 32 | 1 | } |
|
| 34 |
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