| Conditions | 3 |
| Paths | 4 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function construct(CrosswordCriteria $criteria): array |
||
| 24 | { |
||
| 25 | try { |
||
| 26 | $crosswordDto = $this->crossword->construct($criteria); |
||
| 27 | |||
| 28 | return $crosswordDto->count() ? $crosswordDto->crossword() : []; |
||
| 29 | } catch (ApiClientException $exception) { |
||
| 30 | $this->logger->error($exception->getMessage()); |
||
| 31 | } |
||
| 32 | |||
| 33 | throw new CrosswordNotConstructedException(); |
||
| 34 | } |
||
| 36 |
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