generated from spatie/package-skeleton-php
-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
phpstan-baseline.neon
181 lines (146 loc) · 8.64 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
parameters:
ignoreErrors:
-
message: "#^PHPDoc tag @param for parameter \\$solutionProvider with type class\\-string\\<Spatie\\\\ErrorSolutions\\\\Contracts\\\\HasSolutionsForThrowable\\>\\|Spatie\\\\ErrorSolutions\\\\Contracts\\\\HasSolutionsForThrowable is not subtype of native type string\\.$#"
count: 1
path: src/Contracts/SolutionProviderRepository.php
-
message: "#^Method Spatie\\\\ErrorSolutions\\\\DiscoverSolutionProviders\\:\\:getProviderClassesForType\\(\\) should return array\\<Spatie\\\\ErrorSolutions\\\\Contracts\\\\HasSolutionsForThrowable\\> but returns array\\<int, string\\>\\.$#"
count: 1
path: src/DiscoverSolutionProviders.php
-
message: "#^Unable to resolve the template type TKey in call to function collect$#"
count: 1
path: src/SolutionProviders/Laravel/InvalidRouteActionSolutionProvider.php
-
message: "#^Unable to resolve the template type TValue in call to function collect$#"
count: 1
path: src/SolutionProviders/Laravel/InvalidRouteActionSolutionProvider.php
-
message: "#^Call to method getSolutionDescription\\(\\) on an unknown class Spatie\\\\ErrorSolutions\\\\Solutions\\\\Laravel\\\\SuggestCorrectVariableNameSolution\\.$#"
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: "#^Call to method getSolutionTitle\\(\\) on an unknown class Spatie\\\\ErrorSolutions\\\\Solutions\\\\Laravel\\\\SuggestCorrectVariableNameSolution\\.$#"
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: "#^Call to method getViewData\\(\\) on an unknown class Spatie\\\\LaravelFlare\\\\Exceptions\\\\ViewException\\.$#"
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: "#^Call to method getViewData\\(\\) on an unknown class Spatie\\\\LaravelIgnition\\\\Exceptions\\\\ViewException\\.$#"
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: "#^Call to method isRunnable\\(\\) on an unknown class Spatie\\\\ErrorSolutions\\\\Solutions\\\\Laravel\\\\SuggestCorrectVariableNameSolution\\.$#"
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: "#^Class Spatie\\\\LaravelFlare\\\\Exceptions\\\\ViewException not found\\.$#"
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: "#^Class Spatie\\\\LaravelIgnition\\\\Exceptions\\\\ViewException not found\\.$#"
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: "#^Instantiated class Spatie\\\\ErrorSolutions\\\\Solutions\\\\Laravel\\\\SuggestCorrectVariableNameSolution not found\\.$#"
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: "#^Parameter \\$throwable of method Spatie\\\\ErrorSolutions\\\\SolutionProviders\\\\Laravel\\\\UndefinedViewVariableSolutionProvider\\:\\:findCorrectVariableSolutions\\(\\) has invalid type Spatie\\\\LaravelFlare\\\\Exceptions\\\\ViewException\\.$#"
count: 2
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: "#^Parameter \\$throwable of method Spatie\\\\ErrorSolutions\\\\SolutionProviders\\\\Laravel\\\\UndefinedViewVariableSolutionProvider\\:\\:findCorrectVariableSolutions\\(\\) has invalid type Spatie\\\\LaravelIgnition\\\\Exceptions\\\\ViewException\\.$#"
count: 2
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: "#^Unable to resolve the template type TKey in call to function collect$#"
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: "#^Unable to resolve the template type TValue in call to function collect$#"
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: "#^Method Spatie\\\\ErrorSolutions\\\\SolutionProviders\\\\Laravel\\\\UnknownValidationSolutionProvider\\:\\:getAvailableMethods\\(\\) return type with generic class Illuminate\\\\Support\\\\Collection does not specify its types\\: TKey, TValue$#"
count: 1
path: src/SolutionProviders/Laravel/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/SolutionProviders/Laravel/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/SolutionProviders/Laravel/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/SolutionProviders/Laravel/UnknownValidationSolutionProvider.php
-
message: "#^Call to method getMessage\\(\\) on an unknown class Spatie\\\\Ignition\\\\Exceptions\\\\ViewException\\.$#"
count: 1
path: src/SolutionProviders/Laravel/ViewNotFoundSolutionProvider.php
-
message: "#^Call to method getMessage\\(\\) on an unknown class Spatie\\\\LaravelFlare\\\\Exceptions\\\\ViewException\\.$#"
count: 1
path: src/SolutionProviders/Laravel/ViewNotFoundSolutionProvider.php
-
message: "#^Class Spatie\\\\Ignition\\\\Exceptions\\\\ViewException not found\\.$#"
count: 1
path: src/SolutionProviders/Laravel/ViewNotFoundSolutionProvider.php
-
message: "#^Class Spatie\\\\LaravelFlare\\\\Exceptions\\\\ViewException not found\\.$#"
count: 1
path: src/SolutionProviders/Laravel/ViewNotFoundSolutionProvider.php
-
message: "#^Parameter \\#1 \\$missingView of method Spatie\\\\ErrorSolutions\\\\SolutionProviders\\\\Laravel\\\\ViewNotFoundSolutionProvider\\:\\:findRelatedView\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/SolutionProviders/Laravel/ViewNotFoundSolutionProvider.php
-
message: "#^Class Livewire\\\\LivewireComponentsFinder not found\\.$#"
count: 1
path: src/Solutions/Laravel/LivewireDiscoverSolution.php
-
message: "#^Method Spatie\\\\ErrorSolutions\\\\Solutions\\\\OpenAi\\\\DummyCache\\:\\:setMultiple\\(\\) has parameter \\$values with no value type specified in iterable type iterable\\.$#"
count: 1
path: src/Solutions/OpenAi/DummyCache.php
-
message: "#^Cannot call method get\\(\\) on Psr\\\\SimpleCache\\\\CacheInterface\\|null\\.$#"
count: 1
path: src/Solutions/OpenAi/OpenAiSolution.php
-
message: "#^Cannot call method getSnippetAsString\\(\\) on Spatie\\\\Backtrace\\\\Frame\\|null\\.$#"
count: 1
path: src/Solutions/OpenAi/OpenAiSolution.php
-
message: "#^Cannot call method set\\(\\) on Psr\\\\SimpleCache\\\\CacheInterface\\|null\\.$#"
count: 1
path: src/Solutions/OpenAi/OpenAiSolution.php
-
message: "#^Parameter \\#1 \\$rawText of class Spatie\\\\ErrorSolutions\\\\Solutions\\\\OpenAi\\\\OpenAiSolutionResponse constructor expects string, string\\|null given\\.$#"
count: 1
path: src/Solutions/OpenAi/OpenAiSolution.php
-
message: "#^Parameter \\$line of class Spatie\\\\ErrorSolutions\\\\Solutions\\\\OpenAi\\\\OpenAiPromptViewModel constructor expects string, int given\\.$#"
count: 1
path: src/Solutions/OpenAi/OpenAiSolution.php
-
message: "#^Property Spatie\\\\ErrorSolutions\\\\Solutions\\\\OpenAi\\\\OpenAiSolution\\:\\:\\$openAiSolutionResponse \\(Spatie\\\\ErrorSolutions\\\\Solutions\\\\OpenAi\\\\OpenAiSolutionResponse\\) does not accept Spatie\\\\ErrorSolutions\\\\Solutions\\\\OpenAi\\\\OpenAiSolutionResponse\\|null\\.$#"
count: 1
path: src/Solutions/OpenAi/OpenAiSolution.php
-
message: "#^Method Spatie\\\\ErrorSolutions\\\\Solutions\\\\OpenAi\\\\OpenAiSolutionResponse\\:\\:links\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Solutions/OpenAi/OpenAiSolutionResponse.php
-
message: "#^Method Spatie\\\\ErrorSolutions\\\\Support\\\\AiPromptRenderer\\:\\:renderAsString\\(\\) should return string but returns string\\|false\\.$#"
count: 1
path: src/Support/AiPromptRenderer.php
-
message: "#^Property Spatie\\\\ErrorSolutions\\\\Support\\\\Laravel\\\\LivewireComponentParser\\:\\:\\$reflectionClass \\(ReflectionClass\\<Livewire\\\\Component\\>\\) does not accept ReflectionClass\\<object\\>\\.$#"
count: 1
path: src/Support/Laravel/LivewireComponentParser.php