generated from spatie/package-skeleton-laravel
-
Notifications
You must be signed in to change notification settings - Fork 64
/
phpstan-baseline.neon
162 lines (130 loc) · 7.49 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method Livewire\\\\LivewireManager\\:\\:getClass\\(\\)\\.$#"
count: 1
path: src/ContextProviders/LaravelLivewireRequestContextProvider.php
-
message: "#^Cannot call method get\\(\\) on Symfony\\\\Component\\\\HttpFoundation\\\\Request\\|null\\.$#"
count: 1
path: src/ContextProviders/LaravelLivewireRequestContextProvider.php
-
message: "#^Cannot call method has\\(\\) on Symfony\\\\Component\\\\HttpFoundation\\\\Request\\|null\\.$#"
count: 1
path: src/ContextProviders/LaravelLivewireRequestContextProvider.php
-
message: "#^Method Spatie\\\\LaravelIgnition\\\\ContextProviders\\\\LaravelLivewireRequestContextProvider\\:\\:resolveUpdates\\(\\) has parameter \\$updates with no value type specified in iterable type array\\.$#"
count: 1
path: src/ContextProviders/LaravelLivewireRequestContextProvider.php
-
message: "#^Cannot call method toFlare\\(\\) on class\\-string\\|object\\.$#"
count: 1
path: src/ContextProviders/LaravelRequestContextProvider.php
-
message: "#^Expression on left side of \\?\\? is not nullable\\.$#"
count: 1
path: src/ContextProviders/LaravelRequestContextProvider.php
-
message: "#^Method Spatie\\\\LaravelIgnition\\\\ContextProviders\\\\LaravelRequestContextProvider\\:\\:toArray\\(\\) should return array\\<int, mixed\\> but returns array\\<string, mixed\\>\\.$#"
count: 1
path: src/ContextProviders/LaravelRequestContextProvider.php
-
message: "#^Return type \\(array\\<int, mixed\\>\\) of method Spatie\\\\LaravelIgnition\\\\ContextProviders\\\\LaravelRequestContextProvider\\:\\:toArray\\(\\) should be compatible with return type \\(array\\<string, mixed\\>\\) of method Spatie\\\\FlareClient\\\\Context\\\\RequestContextProvider\\:\\:toArray\\(\\)$#"
count: 1
path: src/ContextProviders/LaravelRequestContextProvider.php
-
message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(0\\|1\\|2\\|3\\|4\\|5\\|6\\|7\\)\\: mixed\\)\\|null, Closure\\(string\\)\\: string given\\.$#"
count: 1
path: src/Exceptions/InvalidConfig.php
-
message: "#^Class Livewire\\\\LivewireComponentsFinder not found\\.$#"
count: 1
path: src/Solutions/LivewireDiscoverSolution.php
-
message: "#^Parameter \\#1 \\$invalidController of method Spatie\\\\LaravelIgnition\\\\Solutions\\\\SolutionProviders\\\\InvalidRouteActionSolutionProvider\\:\\:findRelatedController\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/Solutions/SolutionProviders/InvalidRouteActionSolutionProvider.php
-
message: "#^Unable to resolve the template type TKey in call to function collect$#"
count: 1
path: src/Solutions/SolutionProviders/InvalidRouteActionSolutionProvider.php
-
message: "#^Unable to resolve the template type TValue in call to function collect$#"
count: 1
path: src/Solutions/SolutionProviders/InvalidRouteActionSolutionProvider.php
-
message: "#^Method Spatie\\\\LaravelIgnition\\\\Solutions\\\\SolutionProviders\\\\UnknownValidationSolutionProvider\\:\\:getAvailableMethods\\(\\) return type with generic class Illuminate\\\\Support\\\\Collection does not specify its types\\: TKey, TValue$#"
count: 1
path: src/Solutions/SolutionProviders/UnknownValidationSolutionProvider.php
-
message: "#^Parameter \\#1 \\$callback of method Illuminate\\\\Support\\\\Collection\\<int,ReflectionMethod\\>\\:\\:filter\\(\\) expects \\(callable\\(ReflectionMethod, int\\)\\: bool\\)\\|null, Closure\\(ReflectionMethod\\)\\: \\(0\\|1\\|false\\) given\\.$#"
count: 1
path: src/Solutions/SolutionProviders/UnknownValidationSolutionProvider.php
-
message: "#^Unable to resolve the template type TMakeKey in call to method static method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),mixed\\>\\:\\:make\\(\\)$#"
count: 1
path: src/Solutions/SolutionProviders/UnknownValidationSolutionProvider.php
-
message: "#^Unable to resolve the template type TMakeValue in call to method static method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),mixed\\>\\:\\:make\\(\\)$#"
count: 1
path: src/Solutions/SolutionProviders/UnknownValidationSolutionProvider.php
-
message: "#^Parameter \\#1 \\$missingView of method Spatie\\\\LaravelIgnition\\\\Solutions\\\\SolutionProviders\\\\ViewNotFoundSolutionProvider\\:\\:findRelatedView\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/Solutions/SolutionProviders/ViewNotFoundSolutionProvider.php
-
message: "#^Argument of an invalid type array\\|DateTimeImmutable\\|int\\|string\\|null supplied for foreach, only iterables are supported\\.$#"
count: 1
path: src/Support/FlareLogHandler.php
-
message: "#^Cannot access offset 'exception' on array\\|DateTimeImmutable\\|int\\|string\\|null\\.$#"
count: 1
path: src/Support/FlareLogHandler.php
-
message: "#^Parameter \\#1 \\$level of static method Monolog\\\\Logger\\:\\:toMonologLevel\\(\\) expects 100\\|200\\|250\\|300\\|400\\|500\\|550\\|600\\|'ALERT'\\|'alert'\\|'CRITICAL'\\|'critical'\\|'DEBUG'\\|'debug'\\|'EMERGENCY'\\|'emergency'\\|'ERROR'\\|'error'\\|'INFO'\\|'info'\\|'NOTICE'\\|'notice'\\|'WARNING'\\|'warning'\\|Monolog\\\\Level, array\\|DateTimeImmutable\\|int\\|string\\|null given\\.$#"
count: 1
path: src/Support/FlareLogHandler.php
-
message: "#^Parameter \\#1 \\$message of method Spatie\\\\FlareClient\\\\Flare\\:\\:reportMessage\\(\\) expects string, array\\|DateTimeImmutable\\|int\\|string\\|null given\\.$#"
count: 1
path: src/Support/FlareLogHandler.php
-
message: "#^Cannot call method getMessage\\(\\) on Throwable\\|null\\.$#"
count: 1
path: src/Support/LaravelDocumentationLinkFinder.php
-
message: "#^Call to an undefined method Illuminate\\\\Contracts\\\\View\\\\Engine\\:\\:getCompiler\\(\\)\\.$#"
count: 1
path: src/Views/ViewExceptionMapper.php
-
message: "#^Cannot call method getTrace\\(\\) on Throwable\\|null\\.$#"
count: 1
path: src/Views/ViewExceptionMapper.php
-
message: "#^Method Spatie\\\\LaravelIgnition\\\\Views\\\\ViewExceptionMapper\\:\\:filterViewData\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#"
count: 1
path: src/Views/ViewExceptionMapper.php
-
message: "#^Method Spatie\\\\LaravelIgnition\\\\Views\\\\ViewExceptionMapper\\:\\:filterViewData\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Views/ViewExceptionMapper.php
-
message: "#^Method Spatie\\\\LaravelIgnition\\\\Views\\\\ViewExceptionMapper\\:\\:getKnownPaths\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Views/ViewExceptionMapper.php
-
message: "#^Method Spatie\\\\LaravelIgnition\\\\Views\\\\ViewExceptionMapper\\:\\:getViewData\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Views/ViewExceptionMapper.php
-
message: "#^Offset 'line' does not exist on array\\{function\\: string, line\\?\\: int, file\\: non\\-falsy\\-string, class\\?\\: class\\-string, type\\?\\: string, args\\?\\: array, object\\?\\: object\\}\\.$#"
count: 1
path: src/Views/ViewExceptionMapper.php
-
message: "#^Property Spatie\\\\LaravelIgnition\\\\Views\\\\ViewExceptionMapper\\:\\:\\$knownPaths type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Views/ViewExceptionMapper.php
-
message: "#^Function ddd\\(\\) has no return type specified\\.$#"
count: 1
path: src/helpers.php