Skip to content

Commit 765d8c4

Browse files
Update phpstan-baseline.neon
1 parent c6c3c8a commit 765d8c4

File tree

1 file changed

+116
-2
lines changed

1 file changed

+116
-2
lines changed

phpstan-baseline.neon

+116-2
Original file line numberDiff line numberDiff line change
@@ -186,18 +186,84 @@ parameters:
186186
count: 4
187187
path: src/Entity/AbstractEntity.php
188188

189+
-
190+
message: '#^Variable property access on \$this\(DigitalOceanV2\\Entity\\Account\)\.$#'
191+
identifier: property.dynamicName
192+
count: 1
193+
path: src/Entity/Account.php
194+
195+
-
196+
message: '#^Variable property access on \$this\(DigitalOceanV2\\Entity\\Action\)\.$#'
197+
identifier: property.dynamicName
198+
count: 1
199+
path: src/Entity/Action.php
200+
201+
-
202+
message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
203+
identifier: argument.type
204+
count: 1
205+
path: src/Entity/DatabaseCluster.php
206+
207+
-
208+
message: '#^Variable property access on \$this\(DigitalOceanV2\\Entity\\DatabaseCluster\)\.$#'
209+
identifier: property.dynamicName
210+
count: 1
211+
path: src/Entity/DatabaseCluster.php
212+
213+
-
214+
message: '#^Variable property access on \$this\(DigitalOceanV2\\Entity\\DatabasePool\)\.$#'
215+
identifier: property.dynamicName
216+
count: 1
217+
path: src/Entity/DatabasePool.php
218+
219+
-
220+
message: '#^Variable property access on \$this\(DigitalOceanV2\\Entity\\DatabaseReplica\)\.$#'
221+
identifier: property.dynamicName
222+
count: 1
223+
path: src/Entity/DatabaseReplica.php
224+
225+
-
226+
message: '#^Variable property access on \$this\(DigitalOceanV2\\Entity\\DatabaseUser\)\.$#'
227+
identifier: property.dynamicName
228+
count: 1
229+
path: src/Entity/DatabaseUser.php
230+
189231
-
190232
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
191233
identifier: foreach.nonIterable
192234
count: 2
193235
path: src/Entity/Droplet.php
194236

237+
-
238+
message: '#^Cannot access property \$v4 on mixed\.$#'
239+
identifier: property.nonObject
240+
count: 1
241+
path: src/Entity/Droplet.php
242+
243+
-
244+
message: '#^Cannot access property \$v6 on mixed\.$#'
245+
identifier: property.nonObject
246+
count: 1
247+
path: src/Entity/Droplet.php
248+
195249
-
196250
message: '#^Cannot access property \$version on mixed\.$#'
197251
identifier: property.nonObject
198252
count: 1
199253
path: src/Entity/Droplet.php
200254

255+
-
256+
message: '#^Parameter \#1 \$object_or_class of function property_exists expects object\|string, mixed given\.$#'
257+
identifier: argument.type
258+
count: 2
259+
path: src/Entity/Droplet.php
260+
261+
-
262+
message: '#^Variable property access on \$this\(DigitalOceanV2\\Entity\\Droplet\)\.$#'
263+
identifier: property.dynamicName
264+
count: 1
265+
path: src/Entity/Droplet.php
266+
201267
-
202268
message: '#^Anonymous function should return array but returns mixed\.$#'
203269
identifier: return.type
@@ -210,18 +276,66 @@ parameters:
210276
count: 2
211277
path: src/Entity/Firewall.php
212278

279+
-
280+
message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
281+
identifier: argument.type
282+
count: 2
283+
path: src/Entity/Firewall.php
284+
285+
-
286+
message: '#^Variable property access on \$this\(DigitalOceanV2\\Entity\\Firewall\)\.$#'
287+
identifier: property.dynamicName
288+
count: 1
289+
path: src/Entity/Firewall.php
290+
213291
-
214292
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
215293
identifier: notEqual.notAllowed
216294
count: 1
217295
path: src/Entity/FirewallRule.php
218296

219297
-
220-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
221-
identifier: foreach.nonIterable
298+
message: '#^Variable property access on \$this\(DigitalOceanV2\\Entity\\FirewallRuleInbound\)\.$#'
299+
identifier: property.dynamicName
300+
count: 1
301+
path: src/Entity/FirewallRuleInbound.php
302+
303+
-
304+
message: '#^Variable property access on \$this\(DigitalOceanV2\\Entity\\FirewallRuleOutbound\)\.$#'
305+
identifier: property.dynamicName
306+
count: 1
307+
path: src/Entity/FirewallRuleOutbound.php
308+
309+
-
310+
message: '#^Variable property access on \$this\(DigitalOceanV2\\Entity\\FloatingIp\)\.$#'
311+
identifier: property.dynamicName
312+
count: 1
313+
path: src/Entity/FloatingIp.php
314+
315+
-
316+
message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
317+
identifier: argument.type
318+
count: 1
319+
path: src/Entity/LoadBalancer.php
320+
321+
-
322+
message: '#^Variable property access on \$this\(DigitalOceanV2\\Entity\\LoadBalancer\)\.$#'
323+
identifier: property.dynamicName
222324
count: 1
223325
path: src/Entity/LoadBalancer.php
224326

327+
-
328+
message: '#^Variable property access on \$this\(DigitalOceanV2\\Entity\\ReservedIp\)\.$#'
329+
identifier: property.dynamicName
330+
count: 1
331+
path: src/Entity/ReservedIp.php
332+
333+
-
334+
message: '#^Variable property access on \$this\(DigitalOceanV2\\Entity\\Volume\)\.$#'
335+
identifier: property.dynamicName
336+
count: 1
337+
path: src/Entity/Volume.php
338+
225339
-
226340
message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
227341
identifier: arrayFilter.strict

0 commit comments

Comments
 (0)