forked from ergebnis/factory-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
595 lines (497 loc) · 28.2 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
595 lines (497 loc) · 28.2 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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
parameters:
ignoreErrors:
-
message: '#^Call to an undefined static method Doctrine\\ORM\\Tools\\Console\\ConsoleRunner\:\:createHelperSet\(\)\.$#'
identifier: staticMethod.notFound
count: 1
path: config/cli-config.php
-
message: '#^Method Example\\Entity\\Organization\:\:members\(\) should return array\<int, Example\\Entity\\User\> but returns array\<mixed\>\.$#'
identifier: return.type
count: 1
path: example/src/Entity/Organization.php
-
message: '#^Method Example\\Entity\\Organization\:\:repositories\(\) should return array\<int, Example\\Entity\\Repository\> but returns array\<mixed\>\.$#'
identifier: return.type
count: 1
path: example/src/Entity/Organization.php
-
message: '#^Method Example\\Entity\\Organization\:\:url\(\) has a nullable return type declaration\.$#'
identifier: ergebnis.noNullableReturnTypeDeclaration
count: 1
path: example/src/Entity/Organization.php
-
message: '#^Property Example\\Entity\\Organization\:\:\$members type mapping mismatch\: property can contain Doctrine\\Common\\Collections\\Collection but database expects Doctrine\\Common\\Collections\\Collection&iterable\<Example\\Entity\\User\>\.$#'
identifier: doctrine.associationType
count: 1
path: example/src/Entity/Organization.php
-
message: '#^Property Example\\Entity\\Organization\:\:\$members with generic interface Doctrine\\Common\\Collections\\Collection does not specify its types\: TKey, T$#'
identifier: missingType.generics
count: 1
path: example/src/Entity/Organization.php
-
message: '#^Property Example\\Entity\\Organization\:\:\$repositories type mapping mismatch\: property can contain Doctrine\\Common\\Collections\\Collection but database expects Doctrine\\Common\\Collections\\Collection&iterable\<Example\\Entity\\Repository\>\.$#'
identifier: doctrine.associationType
count: 1
path: example/src/Entity/Organization.php
-
message: '#^Property Example\\Entity\\Organization\:\:\$repositories with generic interface Doctrine\\Common\\Collections\\Collection does not specify its types\: TKey, T$#'
identifier: missingType.generics
count: 1
path: example/src/Entity/Organization.php
-
message: '#^Constructor in Example\\Entity\\Repository has parameter \$codeOfConduct with default value\.$#'
identifier: ergebnis.noConstructorParameterWithDefaultValue
count: 1
path: example/src/Entity/Repository.php
-
message: '#^Constructor in Example\\Entity\\Repository has parameter \$template with default value\.$#'
identifier: ergebnis.noConstructorParameterWithDefaultValue
count: 1
path: example/src/Entity/Repository.php
-
message: '#^Method Example\\Entity\\Repository\:\:__construct\(\) has parameter \$codeOfConduct with a nullable type declaration\.$#'
identifier: ergebnis.noParameterWithNullableTypeDeclaration
count: 1
path: example/src/Entity/Repository.php
-
message: '#^Method Example\\Entity\\Repository\:\:__construct\(\) has parameter \$codeOfConduct with null as default value\.$#'
identifier: ergebnis.noParameterWithNullDefaultValue
count: 1
path: example/src/Entity/Repository.php
-
message: '#^Method Example\\Entity\\Repository\:\:__construct\(\) has parameter \$template with a nullable type declaration\.$#'
identifier: ergebnis.noParameterWithNullableTypeDeclaration
count: 1
path: example/src/Entity/Repository.php
-
message: '#^Method Example\\Entity\\Repository\:\:__construct\(\) has parameter \$template with null as default value\.$#'
identifier: ergebnis.noParameterWithNullDefaultValue
count: 1
path: example/src/Entity/Repository.php
-
message: '#^Method Example\\Entity\\Repository\:\:codeOfConduct\(\) has a nullable return type declaration\.$#'
identifier: ergebnis.noNullableReturnTypeDeclaration
count: 1
path: example/src/Entity/Repository.php
-
message: '#^Method Example\\Entity\\Repository\:\:template\(\) has a nullable return type declaration\.$#'
identifier: ergebnis.noNullableReturnTypeDeclaration
count: 1
path: example/src/Entity/Repository.php
-
message: '#^Constructor in Example\\Entity\\User has parameter \$location with default value\.$#'
identifier: ergebnis.noConstructorParameterWithDefaultValue
count: 1
path: example/src/Entity/User.php
-
message: '#^Method Example\\Entity\\User\:\:__construct\(\) has parameter \$location with a nullable type declaration\.$#'
identifier: ergebnis.noParameterWithNullableTypeDeclaration
count: 1
path: example/src/Entity/User.php
-
message: '#^Method Example\\Entity\\User\:\:__construct\(\) has parameter \$location with null as default value\.$#'
identifier: ergebnis.noParameterWithNullDefaultValue
count: 1
path: example/src/Entity/User.php
-
message: '#^Method Example\\Entity\\User\:\:location\(\) has a nullable return type declaration\.$#'
identifier: ergebnis.noNullableReturnTypeDeclaration
count: 1
path: example/src/Entity/User.php
-
message: '#^Method Example\\Entity\\User\:\:organizations\(\) should return array\<int, Example\\Entity\\Organization\> but returns array\<mixed\>\.$#'
identifier: return.type
count: 1
path: example/src/Entity/User.php
-
message: '#^Property Example\\Entity\\User\:\:\$organizations type mapping mismatch\: property can contain Doctrine\\Common\\Collections\\Collection but database expects Doctrine\\Common\\Collections\\Collection&iterable\<Example\\Entity\\Organization\>\.$#'
identifier: doctrine.associationType
count: 1
path: example/src/Entity/User.php
-
message: '#^Property Example\\Entity\\User\:\:\$organizations with generic interface Doctrine\\Common\\Collections\\Collection does not specify its types\: TKey, T$#'
identifier: missingType.generics
count: 1
path: example/src/Entity/User.php
-
message: '#^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$#'
identifier: argument.type
count: 1
path: example/test/AutoReview/FixtureTest.php
-
message: '#^Instanceof between Ergebnis\\FactoryBot\\FieldDefinition\\Resolvable and Ergebnis\\FactoryBot\\FieldDefinition\\Resolvable will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/EntityDefinition.php
-
message: '#^Method Ergebnis\\FactoryBot\\EntityDefinition\:\:__construct\(\) has parameter \$classMetadata with generic class Doctrine\\ORM\\Mapping\\ClassMetadata but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/EntityDefinition.php
-
message: '#^Method Ergebnis\\FactoryBot\\EntityDefinition\:\:classMetadata\(\) return type with generic class Doctrine\\ORM\\Mapping\\ClassMetadata does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/EntityDefinition.php
-
message: '#^Method Ergebnis\\FactoryBot\\EntityDefinition\:\:create\(\) has parameter \$classMetadata with generic class Doctrine\\ORM\\Mapping\\ClassMetadata but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/EntityDefinition.php
-
message: '#^Constructor in Ergebnis\\FactoryBot\\FieldDefinition\\Reference has parameter \$fieldDefinitionOverrides with default value\.$#'
identifier: ergebnis.noConstructorParameterWithDefaultValue
count: 1
path: src/FieldDefinition/Reference.php
-
message: '#^Constructor in Ergebnis\\FactoryBot\\FieldDefinition\\References has parameter \$fieldDefinitionOverrides with default value\.$#'
identifier: ergebnis.noConstructorParameterWithDefaultValue
count: 1
path: src/FieldDefinition/References.php
-
message: '#^Access to an undefined property Doctrine\\ORM\\Mapping\\AssociationMapping\:\:\$inversedBy\.$#'
identifier: property.notFound
count: 1
path: src/FixtureFactory.php
-
message: '#^Call to function is_array\(\) with Doctrine\\ORM\\Mapping\\AssociationMapping will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: src/FixtureFactory.php
-
message: '#^Dead catch \- ReflectionException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: src/FixtureFactory.php
-
message: '#^Method Ergebnis\\FactoryBot\\FixtureFactory\:\:collectionFrom\(\) return type with generic class Doctrine\\Common\\Collections\\ArrayCollection does not specify its types\: TKey, T$#'
identifier: missingType.generics
count: 1
path: src/FixtureFactory.php
-
message: '#^Method Ergebnis\\FactoryBot\\FixtureFactory\:\:define\(\) has parameter \$afterCreate with a nullable type declaration\.$#'
identifier: ergebnis.noParameterWithNullableTypeDeclaration
count: 1
path: src/FixtureFactory.php
-
message: '#^Method Ergebnis\\FactoryBot\\FixtureFactory\:\:define\(\) has parameter \$afterCreate with null as default value\.$#'
identifier: ergebnis.noParameterWithNullDefaultValue
count: 1
path: src/FixtureFactory.php
-
message: '#^Method Ergebnis\\FactoryBot\\FixtureFactory\:\:resolveInversedBy\(\) has a nullable return type declaration\.$#'
identifier: ergebnis.noNullableReturnTypeDeclaration
count: 1
path: src/FixtureFactory.php
-
message: '#^Method Ergebnis\\FactoryBot\\FixtureFactory\:\:resolveInversedBy\(\) has parameter \$classMetadata with generic class Doctrine\\ORM\\Mapping\\ClassMetadata but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/FixtureFactory.php
-
message: '#^Method Ergebnis\\FactoryBot\\FixtureFactory\:\:resolveInversedBy\(\) should return string\|null but returns mixed\.$#'
identifier: return.type
count: 2
path: src/FixtureFactory.php
-
message: '#^Method Ergebnis\\FactoryBot\\FixtureFactory\:\:updateCollectionSideOfAssociation\(\) has parameter \$classMetadata with generic class Doctrine\\ORM\\Mapping\\ClassMetadata but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/FixtureFactory.php
-
message: '#^PHPDoc tag @var for variable \$classMetadata contains generic class Doctrine\\ORM\\Mapping\\ClassMetadata but does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/FixtureFactory.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: src/FixtureFactory.php
-
message: '#^Generator expects value type bool\|float\|int\|list\<string\>\|resource\|stdClass\|string, array\{array\|bool\|float\|int\|resource\|stdClass\|string\} given\.$#'
identifier: generator.valueType
count: 1
path: test/DataProvider/ValueProvider.php
-
message: '#^Method Ergebnis\\FactoryBot\\Test\\Double\\Faker\\FalseGenerator\:\:boolean\(\) has parameter \$chanceOfGettingTrue with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: test/Double/Faker/FalseGenerator.php
-
message: '#^Method Ergebnis\\FactoryBot\\Test\\Double\\Faker\\FalseGenerator\:\:numberBetween\(\) has parameter \$max with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: test/Double/Faker/FalseGenerator.php
-
message: '#^Method Ergebnis\\FactoryBot\\Test\\Double\\Faker\\FalseGenerator\:\:numberBetween\(\) has parameter \$min with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: test/Double/Faker/FalseGenerator.php
-
message: '#^Parameter \#1 \$min of function mt_rand expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: test/Double/Faker/FalseGenerator.php
-
message: '#^Parameter \#2 \$max of function mt_rand expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: test/Double/Faker/FalseGenerator.php
-
message: '#^Method Ergebnis\\FactoryBot\\Test\\Double\\Faker\\MaximumGenerator\:\:numberBetween\(\) has parameter \$max with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: test/Double/Faker/MaximumGenerator.php
-
message: '#^Method Ergebnis\\FactoryBot\\Test\\Double\\Faker\\MaximumGenerator\:\:numberBetween\(\) has parameter \$min with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: test/Double/Faker/MaximumGenerator.php
-
message: '#^Method Ergebnis\\FactoryBot\\Test\\Double\\Faker\\MaximumGenerator\:\:numberBetween\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: test/Double/Faker/MaximumGenerator.php
-
message: '#^Method Ergebnis\\FactoryBot\\Test\\Double\\Faker\\MinimumGenerator\:\:numberBetween\(\) has parameter \$max with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: test/Double/Faker/MinimumGenerator.php
-
message: '#^Method Ergebnis\\FactoryBot\\Test\\Double\\Faker\\MinimumGenerator\:\:numberBetween\(\) has parameter \$min with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: test/Double/Faker/MinimumGenerator.php
-
message: '#^Method Ergebnis\\FactoryBot\\Test\\Double\\Faker\\MinimumGenerator\:\:numberBetween\(\) should return int but returns mixed\.$#'
identifier: return.type
count: 1
path: test/Double/Faker/MinimumGenerator.php
-
message: '#^Parameter \#1 \$min \(int\) of method Ergebnis\\FactoryBot\\Test\\Double\\Faker\\TrueGenerator\:\:numberBetween\(\) should be contravariant with parameter \$int1 \(mixed\) of method Faker\\Generator\:\:numberBetween\(\)$#'
identifier: method.childParameterType
count: 1
path: test/Double/Faker/TrueGenerator.php
-
message: '#^Parameter \#2 \$max \(int\) of method Ergebnis\\FactoryBot\\Test\\Double\\Faker\\TrueGenerator\:\:numberBetween\(\) should be contravariant with parameter \$int2 \(mixed\) of method Faker\\Generator\:\:numberBetween\(\)$#'
identifier: method.childParameterType
count: 1
path: test/Double/Faker/TrueGenerator.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Count'' and Ergebnis\\FactoryBot\\Count will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 2
path: test/Unit/CountTest.php
-
message: '#^Parameter \#2 \$fieldDefinitions of static method Ergebnis\\FactoryBot\\EntityDefinition\:\:create\(\) expects array\<string, Ergebnis\\FactoryBot\\FieldDefinition\\Resolvable\>, array\<string, mixed\> given\.$#'
identifier: argument.type
count: 1
path: test/Unit/EntityDefinitionTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\ClassMetadataNotFound'' and Ergebnis\\FactoryBot\\Exception\\ClassMetadataNotFound will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/ClassMetadataNotFoundTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\Exception'' and Ergebnis\\FactoryBot\\Exception\\ClassMetadataNotFound will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/ClassMetadataNotFoundTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''RuntimeException'' and Ergebnis\\FactoryBot\\Exception\\ClassMetadataNotFound will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/ClassMetadataNotFoundTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\ClassNotFound'' and Ergebnis\\FactoryBot\\Exception\\ClassNotFound will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/ClassNotFoundTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\Exception'' and Ergebnis\\FactoryBot\\Exception\\ClassNotFound will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/ClassNotFoundTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''InvalidArgumentException'' and Ergebnis\\FactoryBot\\Exception\\ClassNotFound will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/ClassNotFoundTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\EntityDefinitionAlreadyRegistered'' and Ergebnis\\FactoryBot\\Exception\\EntityDefinitionAlreadyRegistered will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/EntityDefinitionAlreadyRegisteredTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\Exception'' and Ergebnis\\FactoryBot\\Exception\\EntityDefinitionAlreadyRegistered will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/EntityDefinitionAlreadyRegisteredTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''RuntimeException'' and Ergebnis\\FactoryBot\\Exception\\EntityDefinitionAlreadyRegistered will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/EntityDefinitionAlreadyRegisteredTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\EntityDefinitionNotRegistered'' and Ergebnis\\FactoryBot\\Exception\\EntityDefinitionNotRegistered will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/EntityDefinitionNotRegisteredTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\Exception'' and Ergebnis\\FactoryBot\\Exception\\EntityDefinitionNotRegistered will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/EntityDefinitionNotRegisteredTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''RuntimeException'' and Ergebnis\\FactoryBot\\Exception\\EntityDefinitionNotRegistered will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/EntityDefinitionNotRegisteredTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\Exception'' and Ergebnis\\FactoryBot\\Exception\\InvalidCount will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidCountTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\InvalidCount'' and Ergebnis\\FactoryBot\\Exception\\InvalidCount will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidCountTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''InvalidArgumentException'' and Ergebnis\\FactoryBot\\Exception\\InvalidCount will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidCountTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\Exception'' and Ergebnis\\FactoryBot\\Exception\\InvalidDefinition will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 3
path: test/Unit/Exception/InvalidDefinitionTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\InvalidDefinition'' and Ergebnis\\FactoryBot\\Exception\\InvalidDefinition will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 3
path: test/Unit/Exception/InvalidDefinitionTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''RuntimeException'' and Ergebnis\\FactoryBot\\Exception\\InvalidDefinition will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 3
path: test/Unit/Exception/InvalidDefinitionTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\Exception'' and Ergebnis\\FactoryBot\\Exception\\InvalidDirectory will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidDirectoryTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\InvalidDirectory'' and Ergebnis\\FactoryBot\\Exception\\InvalidDirectory will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidDirectoryTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''InvalidArgumentException'' and Ergebnis\\FactoryBot\\Exception\\InvalidDirectory will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidDirectoryTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\Exception'' and Ergebnis\\FactoryBot\\Exception\\InvalidFieldDefinitions will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidFieldDefinitionsTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\InvalidFieldDefinitions'' and Ergebnis\\FactoryBot\\Exception\\InvalidFieldDefinitions will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidFieldDefinitionsTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''InvalidArgumentException'' and Ergebnis\\FactoryBot\\Exception\\InvalidFieldDefinitions will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidFieldDefinitionsTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\Exception'' and Ergebnis\\FactoryBot\\Exception\\InvalidFieldNames will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 2
path: test/Unit/Exception/InvalidFieldNamesTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\InvalidFieldNames'' and Ergebnis\\FactoryBot\\Exception\\InvalidFieldNames will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 2
path: test/Unit/Exception/InvalidFieldNamesTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''InvalidArgumentException'' and Ergebnis\\FactoryBot\\Exception\\InvalidFieldNames will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 2
path: test/Unit/Exception/InvalidFieldNamesTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\Exception'' and Ergebnis\\FactoryBot\\Exception\\InvalidMaximum will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidMaximumTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\InvalidMaximum'' and Ergebnis\\FactoryBot\\Exception\\InvalidMaximum will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidMaximumTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''InvalidArgumentException'' and Ergebnis\\FactoryBot\\Exception\\InvalidMaximum will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidMaximumTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\Exception'' and Ergebnis\\FactoryBot\\Exception\\InvalidMinimum will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidMinimumTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\InvalidMinimum'' and Ergebnis\\FactoryBot\\Exception\\InvalidMinimum will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidMinimumTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''InvalidArgumentException'' and Ergebnis\\FactoryBot\\Exception\\InvalidMinimum will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidMinimumTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\Exception'' and Ergebnis\\FactoryBot\\Exception\\InvalidSequence will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidSequenceTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\Exception\\\\InvalidSequence'' and Ergebnis\\FactoryBot\\Exception\\InvalidSequence will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidSequenceTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''InvalidArgumentException'' and Ergebnis\\FactoryBot\\Exception\\InvalidSequence will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/Exception/InvalidSequenceTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ergebnis\\\\FactoryBot\\\\FixtureFactory'' and Ergebnis\\FactoryBot\\FixtureFactory will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 3
path: test/Unit/FixtureFactoryTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Example\\\\Entity\\\\Organization'' and Example\\Entity\\Organization will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/FixtureFactoryTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Example\\\\Entity\\\\Repository'' and Example\\Entity\\Repository will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: test/Unit/FixtureFactoryTest.php
-
message: '#^Parameter \#1 \$className of method Ergebnis\\FactoryBot\\FixtureFactory\:\:define\(\) expects class\-string\<NotAClass\>, string given\.$#'
identifier: argument.type
count: 1
path: test/Unit/FixtureFactoryTest.php
-
message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: test/Unit/FixtureFactoryTest.php