Conditions | 3 |
Paths | 4 |
Total Lines | 15 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | public function handle() |
||
27 | { |
||
28 | $response = IproSoftwareFacade::searchContacts([ |
||
29 | 'query' => $this->pagination->amendQuery($this->requestParams), |
||
30 | ])->onlySuccessful(); |
||
31 | |||
32 | $items = $response->json('Items'); |
||
33 | $total = $response->json('TotalHits'); |
||
34 | foreach ($items as $item) { |
||
35 | ContactPull::createOrUpdateContact($item); |
||
36 | } |
||
37 | |||
38 | if ($nextPagination = $this->pagination->nextPagination($total)) { |
||
39 | static::dispatch($nextPagination, $this->requestParams) |
||
40 | ->onQueue($this->queue); |
||
41 | } |
||
44 |
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