-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
41 lines (34 loc) · 1.85 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
37
38
39
40
41
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 Illuminate\\\\Database\\\\Eloquent\\\\Model\\|null\\.$#"
count: 2
path: src/Engine.php
-
message: "#^Method Elastic\\\\ScoutDriverPlus\\\\Factories\\\\ModelFactory\\:\\:makeFromIndexNameAndDocumentIds\\(\\) should return Illuminate\\\\Database\\\\Eloquent\\\\Collection but returns array\\<Illuminate\\\\Database\\\\Eloquent\\\\Builder\\>\\|Illuminate\\\\Database\\\\Eloquent\\\\Collection\\.$#"
count: 1
path: src/Factories/ModelFactory.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\\\\NullEngine\\:\\:map\\(\\) should return Illuminate\\\\Database\\\\Eloquent\\\\Collection but returns Illuminate\\\\Support\\\\Collection\\<\\*NEVER\\*, \\*NEVER\\*\\>\\.$#"
count: 1
path: src/NullEngine.php
-
message: "#^Cannot call method extend\\(\\) on mixed\\.$#"
count: 1
path: src/ServiceProvider.php