-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
205 lines (172 loc) · 7.53 KB
/
phpstan-baseline.neon
File metadata and controls
205 lines (172 loc) · 7.53 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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
parameters:
ignoreErrors:
-
message: '#^Binary operation "\+" between int\<1, max\> and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: src/Google/RestApi.php
-
message: '#^Binary operation "\." between ''Bearer '' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: src/Google/RestApi.php
-
message: '#^Call to an undefined method GuzzleHttp\\Client\:\:options\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Google/RestApi.php
-
message: '#^Cannot access offset ''access_token'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Google/RestApi.php
-
message: '#^Cannot access offset ''expires_in'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Google/RestApi.php
-
message: '#^Cannot call method fetchAuthToken\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: src/Google/RestApi.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:authorize\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Google/RestApi.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:createWithServiceAccount\(\) has parameter \$scopes with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Google/RestApi.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:createWithServiceAccount\(\) has parameter \$serviceAccountConfig with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Google/RestApi.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:decideRetry\(\) should return bool but returns mixed\.$#'
identifier: return.type
count: 1
path: src/Google/RestApi.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:getRefreshToken\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Google/RestApi.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:getServiceAccountAccessToken\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: src/Google/RestApi.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:refreshToken\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Google/RestApi.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:request\(\) has parameter \$addHeaders with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Google/RestApi.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:request\(\) has parameter \$options with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Google/RestApi.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:request\(\) should return GuzzleHttp\\Psr7\\Response but returns mixed\.$#'
identifier: return.type
count: 1
path: src/Google/RestApi.php
-
message: '#^Parameter \#1 \$retries of method Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:decideRetry\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Google/RestApi.php
-
message: '#^Parameter \#1 \$retries of method Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:logRetryRequest\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Google/RestApi.php
-
message: '#^Property Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:\$scopes \(array\<string\>\|null\) does not accept array\.$#'
identifier: assign.propertyType
count: 1
path: src/Google/RestApi.php
-
message: '#^Property Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:\$serviceAccountAccessToken \(string\|null\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: src/Google/RestApi.php
-
message: '#^Property Keboola\\Google\\ClientBundle\\Google\\RestApi\:\:\$serviceAccountConfig type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Google/RestApi.php
-
message: '#^Cannot call method then\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: src/Guzzle/RetryCallbackMiddleware.php
-
message: '#^Cannot use \+\+ on mixed\.$#'
identifier: preInc.type
count: 1
path: src/Guzzle/RetryCallbackMiddleware.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Guzzle\\RetryCallbackMiddleware\:\:__invoke\(\) has parameter \$options with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Guzzle/RetryCallbackMiddleware.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Guzzle\\RetryCallbackMiddleware\:\:__invoke\(\) should return GuzzleHttp\\Promise\\PromiseInterface but returns mixed\.$#'
identifier: return.type
count: 1
path: src/Guzzle/RetryCallbackMiddleware.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Guzzle\\RetryCallbackMiddleware\:\:doRetry\(\) has parameter \$options with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Guzzle/RetryCallbackMiddleware.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Guzzle\\RetryCallbackMiddleware\:\:onFulfilled\(\) has parameter \$options with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Guzzle/RetryCallbackMiddleware.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Guzzle\\RetryCallbackMiddleware\:\:onRejected\(\) has parameter \$options with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Guzzle/RetryCallbackMiddleware.php
-
message: '#^Parameter \#1 \$request of method Keboola\\Google\\ClientBundle\\Guzzle\\RetryCallbackMiddleware\:\:doRetry\(\) expects Psr\\Http\\Message\\RequestInterface, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Guzzle/RetryCallbackMiddleware.php
-
message: '#^Binary operation "\-" between mixed and 1 results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: tests/RestApiTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsString\(\) with non\-falsy\-string will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 1
path: tests/RestApiTest.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Tests\\RestApiTest\:\:getServiceAccountConfig\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: tests/RestApiTest.php
-
message: '#^Method Keboola\\Google\\ClientBundle\\Tests\\RestApiTest\:\:getServiceAccountConfig\(\) should return array but returns mixed\.$#'
identifier: return.type
count: 1
path: tests/RestApiTest.php
-
message: '#^Parameter \#2 \$array of method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) expects array\|ArrayAccess, mixed given\.$#'
identifier: argument.type
count: 6
path: tests/RestApiTest.php