forked from spatie/error-solutions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
169 lines (142 loc) · 7.38 KB
/
phpstan-baseline.neon
File metadata and controls
169 lines (142 loc) · 7.38 KB
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
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\.$#'
identifier: parameter.phpDocType
count: 1
path: src/Contracts/SolutionProviderRepository.php
-
message: '#^Call to method getSolutionDescription\(\) on an unknown class Spatie\\ErrorSolutions\\Solutions\\Laravel\\SuggestCorrectVariableNameSolution\.$#'
identifier: class.notFound
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: '#^Call to method getSolutionTitle\(\) on an unknown class Spatie\\ErrorSolutions\\Solutions\\Laravel\\SuggestCorrectVariableNameSolution\.$#'
identifier: class.notFound
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: '#^Call to method getViewData\(\) on an unknown class Spatie\\LaravelFlare\\Exceptions\\ViewException\.$#'
identifier: class.notFound
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: '#^Call to method isRunnable\(\) on an unknown class Spatie\\ErrorSolutions\\Solutions\\Laravel\\SuggestCorrectVariableNameSolution\.$#'
identifier: class.notFound
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: '#^Class Spatie\\LaravelFlare\\Exceptions\\ViewException not found\.$#'
identifier: class.notFound
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: '#^Instantiated class Spatie\\ErrorSolutions\\Solutions\\Laravel\\SuggestCorrectVariableNameSolution not found\.$#'
identifier: class.notFound
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\.$#'
identifier: class.notFound
count: 2
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: '#^Unable to resolve the template type TKey in call to function collect$#'
identifier: argument.templateType
count: 1
path: src/SolutionProviders/Laravel/UndefinedViewVariableSolutionProvider.php
-
message: '#^Unable to resolve the template type TValue in call to function collect$#'
identifier: argument.templateType
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$#'
identifier: missingType.generics
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\.$#'
identifier: argument.type
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\(\)$#'
identifier: argument.templateType
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\(\)$#'
identifier: argument.templateType
count: 1
path: src/SolutionProviders/Laravel/UnknownValidationSolutionProvider.php
-
message: '#^Call to method getMessage\(\) on an unknown class Spatie\\LaravelFlare\\Exceptions\\ViewException\.$#'
identifier: class.notFound
count: 1
path: src/SolutionProviders/Laravel/ViewNotFoundSolutionProvider.php
-
message: '#^Class Spatie\\LaravelFlare\\Exceptions\\ViewException not found\.$#'
identifier: class.notFound
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\.$#'
identifier: argument.type
count: 1
path: src/SolutionProviders/Laravel/ViewNotFoundSolutionProvider.php
-
message: '#^Call to method build\(\) on an unknown class Livewire\\LivewireComponentsFinder\.$#'
identifier: class.notFound
count: 1
path: src/Solutions/Laravel/LivewireDiscoverSolution.php
-
message: '#^Class Livewire\\LivewireComponentsFinder not found\.$#'
identifier: class.notFound
count: 2
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\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Solutions/OpenAi/DummyCache.php
-
message: '#^Cannot call method get\(\) on Psr\\SimpleCache\\CacheInterface\|null\.$#'
identifier: method.nonObject
count: 1
path: src/Solutions/OpenAi/OpenAiSolution.php
-
message: '#^Cannot call method getSnippetAsString\(\) on Spatie\\Backtrace\\Frame\|null\.$#'
identifier: method.nonObject
count: 1
path: src/Solutions/OpenAi/OpenAiSolution.php
-
message: '#^Cannot call method set\(\) on Psr\\SimpleCache\\CacheInterface\|null\.$#'
identifier: method.nonObject
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\.$#'
identifier: argument.type
count: 1
path: src/Solutions/OpenAi/OpenAiSolution.php
-
message: '#^Parameter \$line of class Spatie\\ErrorSolutions\\Solutions\\OpenAi\\OpenAiPromptViewModel constructor expects string, int given\.$#'
identifier: argument.type
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\.$#'
identifier: assign.propertyType
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\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Solutions/OpenAi/OpenAiSolutionResponse.php
-
message: '#^Property Spatie\\ErrorSolutions\\Support\\Laravel\\LivewireComponentParser\:\:\$reflectionClass \(ReflectionClass\<Livewire\\Component\>\) does not accept ReflectionClass\<object\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Support/Laravel/LivewireComponentParser.php