Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | trait GetSetSearchResolverTrait |
||
24 | { |
||
25 | /** |
||
26 | * @var SolrIndex Index to use |
||
27 | */ |
||
28 | protected $index; |
||
29 | |||
30 | /** |
||
31 | * Get the current index |
||
32 | * |
||
33 | * @return SolrIndex |
||
34 | */ |
||
35 | public function getIndex(): SolrIndex |
||
36 | { |
||
37 | return $this->index; |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * Set the current index |
||
42 | * |
||
43 | * @param SolrIndex $index |
||
44 | * @return $this |
||
45 | */ |
||
46 | public function setIndex($index) |
||
51 | } |
||
52 | } |
||
53 |
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