Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
55 | 1 | public function search(string $index, Query $query): ElasticsearchResultSetDataProvider |
|
56 | { |
||
57 | 1 | $search = new ElasticaSearch( |
|
58 | 1 | $this->client |
|
59 | ); |
||
60 | |||
61 | 1 | return $this->resultConverter->convertResult( |
|
62 | 1 | $search->addIndex($index)->search( |
|
63 | 1 | $this->queryBuilder->getQuery( |
|
64 | 1 | $query |
|
65 | ) |
||
70 | } |
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