| Conditions | 3 |
| Paths | 4 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 3.3332 |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | 2 | public function receive(): array |
|
| 26 | { |
||
| 27 | try { |
||
| 28 | 2 | $languages = $this->dictionaryProvider->supportedLanguages(); |
|
| 29 | |||
| 30 | 2 | return $languages->count() ? $languages->languages() : throw new NotFoundSupportedLanguagesException(); |
|
| 31 | 1 | } catch (ApiClientException $exception) { |
|
| 32 | $this->logger->error($exception->getMessage()); |
||
| 33 | } |
||
| 34 | |||
| 35 | throw new NotFoundSupportedLanguagesException(); |
||
| 36 | } |
||
| 38 |
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