forked from babenkoivan/elastic-scout-driver-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
36 lines (30 loc) · 1.5 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
parameters:
ignoreErrors:
-
message: "#^Method Elastic\\\\ScoutDriverPlus\\\\Builders\\\\SearchParametersBuilder\\:\\:resolveJoinedIndexName\\(\\) should return string but returns mixed\\.$#"
count: 1
path: src/Builders/SearchParametersBuilder.php
-
message: "#^Parameter \\#1 \\$items of class Illuminate\\\\Database\\\\Eloquent\\\\Collection constructor expects Illuminate\\\\Contracts\\\\Support\\\\Arrayable\\<int, TModel of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\|iterable\\<int, TModel of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\|null, Illuminate\\\\Support\\\\Collection\\<int, Illuminate\\\\Database\\\\Eloquent\\\\Model\\|null\\> given\\.$#"
count: 1
path: src/Decorators/SearchResult.php
-
message: "#^Cannot call method searchableAs\\(\\) on mixed\\.$#"
count: 2
path: src/Engine.php
-
message: "#^Cannot call method searchableWith\\(\\) on Illuminate\\\\Database\\\\Eloquent\\\\Model\\|null\\.$#"
count: 1
path: src/Factories/DocumentFactory.php
-
message: "#^Cannot call method makeFromModels\\(\\) on mixed\\.$#"
count: 1
path: src/Jobs/RemoveFromSearch.php
-
message: "#^Cannot call method searchableAs\\(\\) on mixed\\.$#"
count: 1
path: src/Jobs/RemoveFromSearch.php
-
message: "#^Method Elastic\\\\ScoutDriverPlus\\\\QueryParameters\\\\Transformers\\\\CallbackArrayTransformer\\:\\:transform\\(\\) should return array but returns mixed\\.$#"
count: 1
path: src/QueryParameters/Transformers/CallbackArrayTransformer.php