Repository navigation
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
691 lines (577 loc) · 31.6 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
691 lines (577 loc) · 31.6 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
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
parameters:
ignoreErrors:
-
message: '#^Parameter \#2 \$headers of class GuzzleHttp\\Psr7\\Response constructor expects array\<array\<string\>\|string\>, array\<string, int\<1, max\>\|string\> given\.$#'
identifier: argument.type
count: 1
path: packages/dev-server/src/Internal/HttpHandler.php
-
message: '#^Method phpDocumentor\\DevServer\\Internal\\WebSocketHandler\:\:onMessage\(\) has parameter \$msg with no value type specified in iterable type Ratchet\\RFC6455\\Messaging\\MessageInterface\.$#'
identifier: missingType.iterableValue
count: 1
path: packages/dev-server/src/Internal/WebSocketHandler.php
-
message: '#^Call to an undefined method Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface\:\:addListener\(\)\.$#'
identifier: method.notFound
count: 1
path: packages/dev-server/src/Server.php
-
message: '#^Strict comparison using \=\=\= between resource and false will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: packages/dev-server/src/Watcher/INotifyWatcher.php
-
message: '#^Call to function method_exists\(\) with phpDocumentor\\Guides\\Settings\\ProjectSettings and ''setExcludes'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: packages/guides-cli/src/Command/SettingsBuilder.php
-
message: '#^Cannot cast mixed to string\.$#'
identifier: cast.string
count: 6
path: packages/guides-cli/src/Command/SettingsBuilder.php
-
message: '#^Parameter \#1 \$outputFormats of method phpDocumentor\\Guides\\Settings\\ProjectSettings\:\:setOutputFormats\(\) expects array\<string\>, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides-cli/src/Command/SettingsBuilder.php
-
message: '#^Parameter \#1 \$showProgressBar of method phpDocumentor\\Guides\\Settings\\ProjectSettings\:\:setShowProgressBar\(\) expects bool, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides-cli/src/Command/SettingsBuilder.php
-
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides-cli/src/Command/SettingsBuilder.php
-
message: '#^Method phpDocumentor\\Guides\\Cli\\Config\\XmlFileLoader\:\:load\(\) should return array\<array\<mixed\>\> but returns array\<mixed\>\.$#'
identifier: return.type
count: 1
path: packages/guides-cli/src/Config/XmlFileLoader.php
-
message: '#^Cannot access offset ''event'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides-cli/src/DependencyInjection/ApplicationExtension.php
-
message: '#^Cannot access offset ''method'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides-cli/src/DependencyInjection/ApplicationExtension.php
-
message: '#^Parameter \#1 \$configs \(array\<string\>\) of method phpDocumentor\\Guides\\Cli\\DependencyInjection\\ApplicationExtension\:\:load\(\) should be compatible with parameter \$configs \(array\<array\<mixed\>\>\) of method Symfony\\Component\\DependencyInjection\\Extension\\ExtensionInterface\:\:load\(\)$#'
identifier: method.childParameterType
count: 2
path: packages/guides-cli/src/DependencyInjection/ApplicationExtension.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: packages/guides-cli/src/DependencyInjection/ContainerFactory.php
-
message: '#^Cannot access an offset on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides-cli/src/DependencyInjection/ContainerFactory.php
-
message: '#^Cannot access offset ''class'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: packages/guides-cli/src/DependencyInjection/ContainerFactory.php
-
message: '#^Parameter \#1 \$name of method phpDocumentor\\Guides\\Cli\\DependencyInjection\\ContainerFactory\:\:resolveExtensionClass\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides-cli/src/DependencyInjection/ContainerFactory.php
-
message: '#^Parameter \#1 \$string of function rtrim expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: packages/guides-cli/src/DependencyInjection/ContainerFactory.php
-
message: '#^Parameter \#2 \$config of method phpDocumentor\\Guides\\Cli\\DependencyInjection\\ContainerFactory\:\:loadExtensionConfig\(\) expects array\<mixed\>, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides-cli/src/DependencyInjection/ContainerFactory.php
-
message: '#^Parameter \#2 \$values of method Symfony\\Component\\DependencyInjection\\ContainerBuilder\:\:loadFromExtension\(\) expects array\<string, mixed\>\|null, array\<mixed\> given\.$#'
identifier: argument.type
count: 2
path: packages/guides-cli/src/DependencyInjection/ContainerFactory.php
-
message: '#^Property phpDocumentor\\Guides\\Cli\\DependencyInjection\\ContainerFactory\:\:\$configs \(list\<array\<mixed\>\>\) does not accept array\<array\<mixed\>\>\.$#'
identifier: assign.propertyType
count: 1
path: packages/guides-cli/src/DependencyInjection/ContainerFactory.php
-
message: '#^Call to function method_exists\(\) with phpDocumentor\\Guides\\Settings\\ProjectSettings and ''getExcludes'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: packages/guides-cli/src/Internal/RunCommandHandler.php
-
message: '#^Method phpDocumentor\\Guides\\Cli\\Internal\\RunCommandHandler\:\:handle\(\) should return array\<phpDocumentor\\Guides\\Nodes\\DocumentNode\> but returns mixed\.$#'
identifier: return.type
count: 1
path: packages/guides-cli/src/Internal/RunCommandHandler.php
-
message: '#^Parameter \#1 \$documents of class phpDocumentor\\Guides\\Handlers\\CompileDocumentsCommand constructor expects array\<phpDocumentor\\Guides\\Nodes\\DocumentNode\>, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides-cli/src/Internal/RunCommandHandler.php
-
message: '#^Parameter \#2 \$documentArray of class phpDocumentor\\Guides\\Handlers\\RenderCommand constructor expects array\<phpDocumentor\\Guides\\Nodes\\DocumentNode\>, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides-cli/src/Internal/RunCommandHandler.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: packages/guides-code/src/Code/DependencyInjection/CodeExtension.php
-
message: '#^Parameter \#2 \$value of method Symfony\\Component\\DependencyInjection\\Container\:\:setParameter\(\) expects array\|bool\|float\|int\|string\|UnitEnum\|null, mixed given\.$#'
identifier: argument.type
count: 3
path: packages/guides-graphs/src/Graphs/DependencyInjection/GraphsExtension.php
-
message: '#^phpDocumentor\\Guides\\Graphs\\Directives\\UmlDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-graphs/src/Graphs/Directives/UmlDirective.php
-
message: '#^Method phpDocumentor\\Guides\\Markdown\\Parsers\\InlineParsers\\AbstractInlineTextDecoratorParser\<TValue of phpDocumentor\\Guides\\Nodes\\Inline\\InlineNodeInterface\>\:\:createInlineNode\(\) invoked with 3 parameters, 2 required\.$#'
identifier: arguments.count
count: 2
path: packages/guides-markdown/src/Markdown/Parsers/InlineParsers/AbstractInlineTextDecoratorParser.php
-
message: '#^Cannot access offset ''domain'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides-restructured-text/src/RestructuredText/DependencyInjection/Compiler/TextRolePass.php
-
message: '#^Possibly invalid array key type mixed\.$#'
identifier: offsetAccess.invalidOffset
count: 1
path: packages/guides-restructured-text/src/RestructuredText/DependencyInjection/Compiler/TextRolePass.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: packages/guides-restructured-text/src/RestructuredText/DependencyInjection/ReStructuredTextExtension.php
-
message: '#^Cannot access offset ''label'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides-restructured-text/src/RestructuredText/DependencyInjection/ReStructuredTextExtension.php
-
message: '#^Cannot access offset ''language'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides-restructured-text/src/RestructuredText/DependencyInjection/ReStructuredTextExtension.php
-
message: '#^Possibly invalid array key type mixed\.$#'
identifier: offsetAccess.invalidOffset
count: 1
path: packages/guides-restructured-text/src/RestructuredText/DependencyInjection/ReStructuredTextExtension.php
-
message: '#^phpDocumentor\\Guides\\RestructuredText\\Directives\\ClassDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-restructured-text/src/RestructuredText/Directives/ClassDirective.php
-
message: '#^phpDocumentor\\Guides\\RestructuredText\\Directives\\CodeBlockDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-restructured-text/src/RestructuredText/Directives/CodeBlockDirective.php
-
message: '#^phpDocumentor\\Guides\\RestructuredText\\Directives\\CsvTableDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-restructured-text/src/RestructuredText/Directives/CsvTableDirective.php
-
message: '#^phpDocumentor\\Guides\\RestructuredText\\Directives\\DefaultRoleDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-restructured-text/src/RestructuredText/Directives/DefaultRoleDirective.php
-
message: '#^phpDocumentor\\Guides\\RestructuredText\\Directives\\DocumentBlockDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-restructured-text/src/RestructuredText/Directives/DocumentBlockDirective.php
-
message: '#^phpDocumentor\\Guides\\RestructuredText\\Directives\\GeneralDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-restructured-text/src/RestructuredText/Directives/GeneralDirective.php
-
message: '#^phpDocumentor\\Guides\\RestructuredText\\Directives\\ListTableDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-restructured-text/src/RestructuredText/Directives/ListTableDirective.php
-
message: '#^phpDocumentor\\Guides\\RestructuredText\\Directives\\MenuDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-restructured-text/src/RestructuredText/Directives/MenuDirective.php
-
message: '#^phpDocumentor\\Guides\\RestructuredText\\Directives\\MetaDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-restructured-text/src/RestructuredText/Directives/MetaDirective.php
-
message: '#^phpDocumentor\\Guides\\RestructuredText\\Directives\\OptionDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-restructured-text/src/RestructuredText/Directives/OptionDirective.php
-
message: '#^phpDocumentor\\Guides\\RestructuredText\\Directives\\RoleDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-restructured-text/src/RestructuredText/Directives/RoleDirective.php
-
message: '#^phpDocumentor\\Guides\\RestructuredText\\Directives\\TitleDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-restructured-text/src/RestructuredText/Directives/TitleDirective.php
-
message: '#^Method phpDocumentor\\Guides\\RestructuredText\\Parser\\Productions\\DirectiveContentRule\:\:apply\(\) should return phpDocumentor\\Guides\\Nodes\\CollectionNode but returns phpDocumentor\\Guides\\Nodes\\CollectionNode\|TParent of phpDocumentor\\Guides\\Nodes\\CompoundNode\.$#'
identifier: return.type
count: 1
path: packages/guides-restructured-text/src/RestructuredText/Parser/Productions/DirectiveContentRule.php
-
message: '#^Property phpDocumentor\\Guides\\RestructuredText\\Parser\\Productions\\ListRule\:\:\$logger is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: packages/guides-restructured-text/src/RestructuredText/Parser/Productions/ListRule.php
-
message: '#^phpDocumentor\\Guides\\RestructuredText\\PHPStan\\ReadOptionFixtureDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-restructured-text/tests/unit/PHPStan/ReadOptionFixtureDirective.php
-
message: '#^Using PHPStan\\Testing\\PHPStanTestCaseTrait is not covered by backward compatibility promise\. The trait might change in a minor PHPStan version\.$#'
identifier: phpstanApi.trait
count: 1
path: packages/guides-restructured-text/tests/unit/PHPStan/ReadOptionReturnTypeExtensionTest.php
-
message: '#^phpDocumentor\\Guides\\RestructuredText\\Parser\\DummyBaseDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-restructured-text/tests/unit/Parser/DummyBaseDirective.php
-
message: '#^phpDocumentor\\Guides\\Bootstrap\\Directives\\AccordionItemDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-theme-bootstrap/src/Bootstrap/Directives/AccordionItemDirective.php
-
message: '#^phpDocumentor\\Guides\\Bootstrap\\Directives\\CardDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-theme-bootstrap/src/Bootstrap/Directives/CardDirective.php
-
message: '#^phpDocumentor\\Guides\\Bootstrap\\Directives\\CardFooterDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-theme-bootstrap/src/Bootstrap/Directives/CardFooterDirective.php
-
message: '#^phpDocumentor\\Guides\\Bootstrap\\Directives\\CardHeaderDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-theme-bootstrap/src/Bootstrap/Directives/CardHeaderDirective.php
-
message: '#^phpDocumentor\\Guides\\Bootstrap\\Directives\\CardImageDirective should apply the attribute phpDocumentor\\Guides\\RestructuredText\\Directives\\Attributes\\Directive$#'
identifier: phpat.testConcreteDirectivesHaveTheDirectiveAttribute
count: 1
path: packages/guides-theme-bootstrap/src/Bootstrap/Directives/CardImageDirective.php
-
message: '#^Strict comparison using \=\=\= between ''phpDocumentor\\\\Guides\\\\Compiler\\\\CompilerContext'' and ''phpDocumentor\\\\Guides\\\\Compiler\\\\CompilerContext'' will always evaluate to true\.$#'
identifier: identical.alwaysTrue
count: 1
path: packages/guides/src/Compiler/CompilerContext.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: packages/guides/src/Compiler/CompilerContext.php
-
message: '#^Binary operation "\." between ''phpdoc\.guides…'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: packages/guides/src/DependencyInjection/Compiler/NodeRendererPass.php
-
message: '#^Cannot access offset ''file'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/Compiler/NodeRendererPass.php
-
message: '#^Cannot access offset ''format'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: packages/guides/src/DependencyInjection/Compiler/NodeRendererPass.php
-
message: '#^Cannot access offset ''node'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: packages/guides/src/DependencyInjection/Compiler/NodeRendererPass.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/Compiler/NodeRendererPass.php
-
message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/Compiler/NodeRendererPass.php
-
message: '#^Cannot access offset ''format'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 6
path: packages/guides/src/DependencyInjection/Compiler/RendererPass.php
-
message: '#^Cannot access offset ''noderender_tag'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/Compiler/RendererPass.php
-
message: '#^Function Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\tagged_iterator not found\.$#'
identifier: function.notFound
count: 2
path: packages/guides/src/DependencyInjection/Compiler/RendererPass.php
-
message: '#^Parameter \#1 \$tag of method phpDocumentor\\Guides\\DependencyInjection\\Compiler\\RendererPass\:\:createDelegatingNodeRender\(\) expects array\{format\: string\}, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/Compiler/RendererPass.php
-
message: '#^Parameter \#1 \$tag of method phpDocumentor\\Guides\\DependencyInjection\\Compiler\\RendererPass\:\:createNodeRendererFactory\(\) expects array\{format\: string, noderender_tag\: string\}, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/Compiler/RendererPass.php
-
message: '#^Parameter \#1 \$tag of method phpDocumentor\\Guides\\DependencyInjection\\Compiler\\RendererPass\:\:createPreNodeRendererFactory\(\) expects array\{format\: string, noderender_tag\: string\}, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/Compiler/RendererPass.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 6
path: packages/guides/src/DependencyInjection/Compiler/RendererPass.php
-
message: '#^Used function Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\tagged_iterator not found\.$#'
identifier: function.notFound
count: 1
path: packages/guides/src/DependencyInjection/Compiler/RendererPass.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 6
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access an offset on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''allow_attributes'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''allow_elements'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''allow_safe_elements'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''allow_static_elements'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''attribute'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''block_elements'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''copyright'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''drop_attributes'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''drop_elements'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''element'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''escape'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''extends'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''hidden'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''paths'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''release'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''symlinks'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''templates'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''title'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot access offset ''version'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Cannot cast mixed to string\.$#'
identifier: cast.string
count: 12
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Parameter \#1 \$ignoredDomains of method phpDocumentor\\Guides\\Settings\\ProjectSettings\:\:setIgnoredDomains\(\) expects array\<string\>, array\<mixed, mixed\> given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Parameter \#1 \$input of function phpDocumentor\\Guides\\DependencyInjection\\templateArray expects array\<class\-string\<phpDocumentor\\Guides\\Nodes\\Node\>, string\>, mixed given\.$#'
identifier: argument.type
count: 2
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Parameter \#1 \$inventories of method phpDocumentor\\Guides\\Settings\\ProjectSettings\:\:setInventories\(\) expects array\<string, string\>, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Parameter \#1 \$name of class phpDocumentor\\Guides\\Twig\\Theme\\ThemeConfig constructor expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Parameter \#1 \$outputFormats of method phpDocumentor\\Guides\\Settings\\ProjectSettings\:\:setOutputFormats\(\) expects array\<string\>, array\<mixed, mixed\> given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Parameter \#1 \$paths of class phpDocumentor\\FileSystem\\Finder\\Exclude constructor expects list\<phpDocumentor\\FileSystem\\Path\|string\>, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Parameter \#1 \$rawNodeConfig of method phpDocumentor\\Guides\\DependencyInjection\\GuidesExtension\:\:configureSanitizers\(\) expects array\<string, mixed\>, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Parameter \#2 \$hidden of class phpDocumentor\\FileSystem\\Finder\\Exclude constructor expects bool, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Parameter \#2 \$paths of class phpDocumentor\\Guides\\Twig\\Theme\\ThemeConfig constructor expects array\<string\>, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Parameter \#2 \$value of method Symfony\\Component\\DependencyInjection\\Container\:\:setParameter\(\) expects array\|bool\|float\|int\|string\|UnitEnum\|null, mixed given\.$#'
identifier: argument.type
count: 4
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Parameter \#3 \$extends of class phpDocumentor\\Guides\\Twig\\Theme\\ThemeConfig constructor expects string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Parameter \#3 \$symlinks of class phpDocumentor\\FileSystem\\Finder\\Exclude constructor expects bool, mixed given\.$#'
identifier: argument.type
count: 1
path: packages/guides/src/DependencyInjection/GuidesExtension.php
-
message: '#^Parameter \#1 \$value \(array\<phpDocumentor\\Guides\\Nodes\\Inline\\InlineNodeInterface\>\|string\) of method phpDocumentor\\Guides\\Nodes\\Inline\\AbstractLinkInlineNode\:\:setValue\(\) should be contravariant with parameter \$value \(mixed\) of method phpDocumentor\\Guides\\Nodes\\Node\:\:setValue\(\)$#'
identifier: method.childParameterType
count: 3
path: packages/guides/src/Nodes/Inline/AbstractLinkInlineNode.php
-
message: '#^Return type \(string\) of method phpDocumentor\\Guides\\Nodes\\Inline\\AbstractLinkInlineNode\:\:getValue\(\) should be compatible with return type \(array\<phpDocumentor\\Guides\\Nodes\\Inline\\InlineNodeInterface\>\) of method phpDocumentor\\Guides\\Nodes\\AbstractNode\<array\<phpDocumentor\\Guides\\Nodes\\Inline\\InlineNodeInterface\>\>\:\:getValue\(\)$#'
identifier: method.childReturnType
count: 1
path: packages/guides/src/Nodes/Inline/AbstractLinkInlineNode.php
-
message: '#^Parameter \#1 \$value \(array\<phpDocumentor\\Guides\\Nodes\\Inline\\InlineNodeInterface\>\|string\) of method phpDocumentor\\Guides\\Nodes\\Inline\\EmphasisInlineNode\:\:setValue\(\) should be contravariant with parameter \$value \(mixed\) of method phpDocumentor\\Guides\\Nodes\\Node\:\:setValue\(\)$#'
identifier: method.childParameterType
count: 2
path: packages/guides/src/Nodes/Inline/EmphasisInlineNode.php
-
message: '#^Return type \(string\) of method phpDocumentor\\Guides\\Nodes\\Inline\\EmphasisInlineNode\:\:getValue\(\) should be compatible with return type \(array\<phpDocumentor\\Guides\\Nodes\\Inline\\InlineNodeInterface\>\) of method phpDocumentor\\Guides\\Nodes\\AbstractNode\<array\<phpDocumentor\\Guides\\Nodes\\Inline\\InlineNodeInterface\>\>\:\:getValue\(\)$#'
identifier: method.childReturnType
count: 1
path: packages/guides/src/Nodes/Inline/EmphasisInlineNode.php
-
message: '#^Parameter \#1 \$value \(array\<phpDocumentor\\Guides\\Nodes\\Inline\\InlineNodeInterface\>\|string\) of method phpDocumentor\\Guides\\Nodes\\Inline\\StrongInlineNode\:\:setValue\(\) should be contravariant with parameter \$value \(mixed\) of method phpDocumentor\\Guides\\Nodes\\Node\:\:setValue\(\)$#'
identifier: method.childParameterType
count: 2
path: packages/guides/src/Nodes/Inline/StrongInlineNode.php
-
message: '#^Return type \(string\) of method phpDocumentor\\Guides\\Nodes\\Inline\\StrongInlineNode\:\:getValue\(\) should be compatible with return type \(array\<phpDocumentor\\Guides\\Nodes\\Inline\\InlineNodeInterface\>\) of method phpDocumentor\\Guides\\Nodes\\AbstractNode\<array\<phpDocumentor\\Guides\\Nodes\\Inline\\InlineNodeInterface\>\>\:\:getValue\(\)$#'
identifier: method.childReturnType
count: 1
path: packages/guides/src/Nodes/Inline/StrongInlineNode.php
-
message: '#^Anonymous class extends @final class phpDocumentor\\Guides\\Compiler\\CompilerContext\.$#'
identifier: class.extendsFinalByPhpDoc
count: 1
path: packages/guides/tests/unit/Compiler/CompilerContextTest.php