Conditions | 4 |
Paths | 6 |
Total Lines | 17 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 20 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function handle() |
||
28 | { |
||
29 | $response = IproSoftwareFacade::searchLiteProperties([ |
||
30 | 'query' => $this->pagination->amendQuery($this->requestParams), |
||
31 | ])->onlySuccessful(); |
||
32 | |||
33 | $items = $response->json('Items'); |
||
34 | $total = $response->json('TotalHits'); |
||
35 | foreach ($items as $item) { |
||
36 | if (!empty($item['Id'])) { |
||
37 | PropertyPull::dispatch($item['Id']); |
||
38 | } |
||
39 | } |
||
40 | |||
41 | if ($nextPagination = $this->pagination->nextPagination($total)) { |
||
42 | static::dispatch($nextPagination, $this->requestParams) |
||
43 | ->onQueue($this->queue); |
||
44 | } |
||
47 |
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