| Conditions | 2 |
| Paths | 2 |
| Total Lines | 18 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function convert() |
||
| 32 | { |
||
| 33 | $responseTransfer = new FactFinderSdkSuggestResponseTransfer(); |
||
| 34 | |||
| 35 | $suggestions = $this->suggestAdapter->getSuggestions(); |
||
| 36 | |||
| 37 | foreach ($suggestions as $suggestion) { |
||
| 38 | $responseTransfer->addSuggestions([ |
||
| 39 | 'imageUrl' => $suggestion->getImageUrl(), |
||
| 40 | 'label' => $suggestion->getLabel(), |
||
| 41 | 'url' => $suggestion->getUrl(), |
||
| 42 | 'attributes' => $suggestion->getAttributes(), |
||
| 43 | 'type' => $suggestion->getType(), |
||
| 44 | 'hitCount' => $suggestion->getHitCount(), |
||
| 45 | ]); |
||
| 46 | } |
||
| 47 | |||
| 48 | return $responseTransfer; |
||
| 49 | } |
||
| 51 |
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