1 | <?php |
||
2 | |||
3 | namespace Firesphere\SearchBackend\Interfaces; |
||
4 | |||
5 | use SilverStripe\ORM\ArrayList; |
||
6 | use SilverStripe\ORM\PaginatedList; |
||
7 | use Solarium\Component\Result\FacetSet; |
||
0 ignored issues
–
show
|
|||
8 | use stdClass; |
||
9 | |||
10 | interface SearchResultInterface |
||
11 | { |
||
12 | /** |
||
13 | * Get the matches as an ArrayList and add an excerpt if possible. |
||
14 | * {@link static::createExcerpt()} |
||
15 | * |
||
16 | * @return ArrayList |
||
17 | */ |
||
18 | public function getMatches(): ArrayList; |
||
19 | |||
20 | /** |
||
21 | * Paginated version of getPaginatedMatches |
||
22 | * @return PaginatedList |
||
23 | */ |
||
24 | public function getPaginatedMatches(): PaginatedList; |
||
25 | |||
26 | /** |
||
27 | * Get the highlights for a specific document |
||
28 | * @param string|int $docId ID of the document to search for |
||
29 | * @return string |
||
30 | */ |
||
31 | public function getHighlightByID($docId): string; |
||
32 | |||
33 | /** |
||
34 | * @return mixed |
||
35 | */ |
||
36 | public function getSpellcheck(): ArrayList; |
||
37 | |||
38 | /** |
||
39 | * Create a single facet array for a faceted class |
||
40 | * @param stdClass|FacetSet $facets |
||
41 | * @param array|stdClass $options |
||
42 | * @param string $class |
||
43 | * @param array $facetArray |
||
44 | * @return array |
||
45 | */ |
||
46 | public function createFacet($facets, $options, $class, array $facetArray): array; |
||
47 | } |
||
48 |
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