1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace BEAR\Resource; |
||
6 | |||
7 | /** |
||
8 | * @property AbstractRequest $eager |
||
9 | * @property AbstractRequest $lazy |
||
10 | * @psalm-import-type Query from Types |
||
11 | */ |
||
12 | interface RequestInterface |
||
13 | { |
||
14 | /** |
||
15 | * InvokerInterface resource request |
||
16 | * |
||
17 | * @param Query $query |
||
0 ignored issues
–
show
|
|||
18 | */ |
||
19 | public function __invoke(array|null $query = null): ResourceObject; |
||
20 | |||
21 | /** |
||
22 | * Set query |
||
23 | * |
||
24 | * @param Query $query |
||
25 | * |
||
26 | * @psalm-suppress PossiblyUnusedReturnValue |
||
27 | */ |
||
28 | public function withQuery(array $query): self; |
||
29 | |||
30 | /** |
||
31 | * Merge query |
||
32 | * |
||
33 | * @param Query $query |
||
34 | * |
||
35 | * @psalm-suppress PossiblyUnusedReturnValue |
||
36 | */ |
||
37 | public function addQuery(array $query): self; |
||
38 | |||
39 | /** |
||
40 | * To Request URI string |
||
41 | */ |
||
42 | public function toUri(): string; |
||
43 | |||
44 | /** |
||
45 | * To Request URI string with request method |
||
46 | */ |
||
47 | public function toUriWithMethod(): string; |
||
48 | |||
49 | /** |
||
50 | * Return request hash |
||
51 | */ |
||
52 | public function hash(): string; |
||
53 | |||
54 | /** @return AbstractRequest|ResourceObject */ |
||
55 | public function request(); |
||
56 | |||
57 | /** |
||
58 | * Replace linked resource |
||
59 | */ |
||
60 | public function linkSelf(string $linkKey): self; |
||
61 | |||
62 | /** |
||
63 | * Add linked resource |
||
64 | */ |
||
65 | public function linkNew(string $linkKey): self; |
||
66 | |||
67 | /** |
||
68 | * Crawl resource with link key |
||
69 | */ |
||
70 | public function linkCrawl(string $linkKey): self; |
||
71 | } |
||
72 |
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