-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpstan-baseline.php
5099 lines (5097 loc) · 236 KB
/
phpstan-baseline.php
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
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php declare(strict_types = 1);
$ignoreErrors = [];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on App\\\\Entity\\\\Concept\\|null\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Analytics/AnalyticsService.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on App\\\\Entity\\\\StudyArea\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Analytics/AnalyticsService.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method modify\\(\\) on DateTimeImmutable\\|false\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Analytics/AnalyticsService.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Analytics\\\\AnalyticsService\\:\\:build\\(\\) has parameter \\$settings with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Analytics/AnalyticsService.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method App\\\\Analytics\\\\AnalyticsService\\:\\:firstFromFinder\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Analytics/AnalyticsService.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$studyArea of method App\\\\Analytics\\\\AnalyticsService\\:\\:retrieveConceptNamesExport\\(\\) expects App\\\\Entity\\\\StudyArea, App\\\\Entity\\\\StudyArea\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Analytics/AnalyticsService.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$studyArea of method App\\\\Analytics\\\\AnalyticsService\\:\\:retrieveTrackingDataExport\\(\\) expects App\\\\Entity\\\\StudyArea, App\\\\Entity\\\\StudyArea\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Analytics/AnalyticsService.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$studyArea of method App\\\\Entity\\\\PageLoad\\:\\:setStudyArea\\(\\) expects App\\\\Entity\\\\StudyArea, App\\\\Entity\\\\StudyArea\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Analytics/AnalyticsService.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$timestamp of method App\\\\Entity\\\\PageLoad\\:\\:setTimestamp\\(\\) expects DateTime, DateTime\\|false given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Analytics/AnalyticsService.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#2 \\$content of method Symfony\\\\Component\\\\Filesystem\\\\Filesystem\\:\\:dumpFile\\(\\) expects resource\\|string, string\\|false given\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Analytics/AnalyticsService.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method format\\(\\) on DateTimeImmutable\\|false\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Analytics/Model/SynthesizeRequest.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Analytics\\\\Model\\\\SynthesizeRequest\\:\\:getSettings\\(\\) return type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Analytics/Model/SynthesizeRequest.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method App\\\\Analytics\\\\Model\\\\SynthesizeRequest\\:\\:validate\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Analytics/Model/SynthesizeRequest.php',
];
$ignoreErrors[] = [
// identifier: classConstant.nonObject
'message' => '#^Cannot access constant class on Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/AbstractApiController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on App\\\\Entity\\\\StudyArea\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/AbstractApiController.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Api\\\\Controller\\\\AbstractApiController\\:\\:createDataResponse\\(\\) has parameter \\$extraData with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/AbstractApiController.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Api\\\\Controller\\\\AbstractApiController\\:\\:createDataResponse\\(\\) has parameter \\$serializationGroups with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/AbstractApiController.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Api\\\\Controller\\\\AbstractApiController\\:\\:getArrayFromBody\\(\\) return type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/AbstractApiController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(object\\)\\: mixed\\)\\|null, Closure\\(App\\\\Entity\\\\Concept\\)\\: App\\\\Entity\\\\Concept given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/ConceptController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$objects of class Drenso\\\\Shared\\\\IdMap\\\\IdMap constructor expects array\\<Drenso\\\\Shared\\\\Interfaces\\\\IdInterface\\>, array\\<object\\> given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/ConceptController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$tag of method App\\\\Entity\\\\Concept\\:\\:addTag\\(\\) expects App\\\\Entity\\\\Tag, object given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/ConceptController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\$content of attribute class OpenApi\\\\Attributes\\\\RequestBody constructor expects array\\<OpenApi\\\\Attributes\\\\JsonContent\\|OpenApi\\\\Attributes\\\\MediaType\\|OpenApi\\\\Attributes\\\\XmlContent\\>\\|OpenApi\\\\Attributes\\\\Attachable\\|OpenApi\\\\Attributes\\\\JsonContent\\|OpenApi\\\\Attributes\\\\MediaType\\|OpenApi\\\\Attributes\\\\XmlContent\\|null, array\\<int, Nelmio\\\\ApiDocBundle\\\\Annotation\\\\Model\\> given\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Api/Controller/ConceptController.php',
];
$ignoreErrors[] = [
// identifier: varTag.differentVariable
'message' => '#^Variable \\$requestTag in PHPDoc tag @var does not match assigned variable \\$requestTags\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/ConceptController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$objects of class Drenso\\\\Shared\\\\IdMap\\\\IdMap constructor expects array\\<Drenso\\\\Shared\\\\Interfaces\\\\IdInterface\\>, array\\<object\\> given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/ConceptRelationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$relationType of method App\\\\Entity\\\\ConceptRelation\\:\\:setRelationType\\(\\) expects App\\\\Entity\\\\RelationType\\|null, object given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/ConceptRelationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$source of method App\\\\Entity\\\\ConceptRelation\\:\\:setSource\\(\\) expects App\\\\Entity\\\\Concept, object given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/ConceptRelationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$target of method App\\\\Entity\\\\ConceptRelation\\:\\:setTarget\\(\\) expects App\\\\Entity\\\\Concept, object given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/ConceptRelationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#2 \\$object of method App\\\\Api\\\\Controller\\\\AbstractApiController\\:\\:assertStudyAreaObject\\(\\) expects App\\\\Entity\\\\Contracts\\\\StudyAreaFilteredInterface, App\\\\Entity\\\\Concept\\|null given\\.$#',
'count' => 3,
'path' => __DIR__ . '/src/Api/Controller/ConceptRelationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#2 \\$relationType of method App\\\\Api\\\\Model\\\\Update\\\\UpdateConceptRelationApiModel\\:\\:mapToEntity\\(\\) expects App\\\\Entity\\\\RelationType\\|null, object\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/ConceptRelationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\$content of attribute class OpenApi\\\\Attributes\\\\RequestBody constructor expects array\\<OpenApi\\\\Attributes\\\\JsonContent\\|OpenApi\\\\Attributes\\\\MediaType\\|OpenApi\\\\Attributes\\\\XmlContent\\>\\|OpenApi\\\\Attributes\\\\Attachable\\|OpenApi\\\\Attributes\\\\JsonContent\\|OpenApi\\\\Attributes\\\\MediaType\\|OpenApi\\\\Attributes\\\\XmlContent\\|null, array\\<int, Nelmio\\\\ApiDocBundle\\\\Annotation\\\\Model\\> given\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Api/Controller/ConceptRelationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\$content of attribute class OpenApi\\\\Attributes\\\\RequestBody constructor expects array\\<OpenApi\\\\Attributes\\\\JsonContent\\|OpenApi\\\\Attributes\\\\MediaType\\|OpenApi\\\\Attributes\\\\XmlContent\\>\\|OpenApi\\\\Attributes\\\\Attachable\\|OpenApi\\\\Attributes\\\\JsonContent\\|OpenApi\\\\Attributes\\\\MediaType\\|OpenApi\\\\Attributes\\\\XmlContent\\|null, array\\<int, Nelmio\\\\ApiDocBundle\\\\Annotation\\\\Model\\> given\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Api/Controller/RelationTypeController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\$content of attribute class OpenApi\\\\Attributes\\\\RequestBody constructor expects array\\<OpenApi\\\\Attributes\\\\JsonContent\\|OpenApi\\\\Attributes\\\\MediaType\\|OpenApi\\\\Attributes\\\\XmlContent\\>\\|OpenApi\\\\Attributes\\\\Attachable\\|OpenApi\\\\Attributes\\\\JsonContent\\|OpenApi\\\\Attributes\\\\MediaType\\|OpenApi\\\\Attributes\\\\XmlContent\\|null, array\\<int, Nelmio\\\\ApiDocBundle\\\\Annotation\\\\Model\\> given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Controller/StudyAreaController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\$content of attribute class OpenApi\\\\Attributes\\\\RequestBody constructor expects array\\<OpenApi\\\\Attributes\\\\JsonContent\\|OpenApi\\\\Attributes\\\\MediaType\\|OpenApi\\\\Attributes\\\\XmlContent\\>\\|OpenApi\\\\Attributes\\\\Attachable\\|OpenApi\\\\Attributes\\\\JsonContent\\|OpenApi\\\\Attributes\\\\MediaType\\|OpenApi\\\\Attributes\\\\XmlContent\\|null, array\\<int, Nelmio\\\\ApiDocBundle\\\\Annotation\\\\Model\\> given\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Api/Controller/StylingConfigurationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\$content of attribute class OpenApi\\\\Attributes\\\\RequestBody constructor expects array\\<OpenApi\\\\Attributes\\\\JsonContent\\|OpenApi\\\\Attributes\\\\MediaType\\|OpenApi\\\\Attributes\\\\XmlContent\\>\\|OpenApi\\\\Attributes\\\\Attachable\\|OpenApi\\\\Attributes\\\\JsonContent\\|OpenApi\\\\Attributes\\\\MediaType\\|OpenApi\\\\Attributes\\\\XmlContent\\|null, array\\<int, Nelmio\\\\ApiDocBundle\\\\Annotation\\\\Model\\> given\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Api/Controller/TagController.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Api\\\\Model\\\\ConceptApiModel\\:\\:__construct\\(\\) has parameter \\$dotronConfig with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/ConceptApiModel.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Api\\\\Model\\\\ConceptApiModel\\:\\:__construct\\(\\) has parameter \\$outgoingRelations with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/ConceptApiModel.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Api\\\\Model\\\\ConceptApiModel\\:\\:__construct\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/ConceptApiModel.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$id of class App\\\\Api\\\\Model\\\\ConceptApiModel constructor expects int, int\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/ConceptApiModel.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$id of class App\\\\Api\\\\Model\\\\ConceptRelationApiModel constructor expects int, int\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/ConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#2 \\$sourceId of class App\\\\Api\\\\Model\\\\ConceptRelationApiModel constructor expects int, int\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/ConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#3 \\$targetId of class App\\\\Api\\\\Model\\\\ConceptRelationApiModel constructor expects int, int\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/ConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Api\\\\Model\\\\Detailed\\\\DetailedConceptRelationApiModel\\:\\:__construct\\(\\) has parameter \\$dotronConfig with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Detailed/DetailedConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$id of class App\\\\Api\\\\Model\\\\Detailed\\\\DetailedConceptRelationApiModel constructor expects int, int\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Detailed/DetailedConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#2 \\$sourceId of class App\\\\Api\\\\Model\\\\Detailed\\\\DetailedConceptRelationApiModel constructor expects int, int\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Detailed/DetailedConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#3 \\$targetId of class App\\\\Api\\\\Model\\\\Detailed\\\\DetailedConceptRelationApiModel constructor expects int, int\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Detailed/DetailedConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$id of class App\\\\Api\\\\Model\\\\RelationTypeApiModel constructor expects int, int\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/RelationTypeApiModel.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Api\\\\Model\\\\StudyAreaApiModel\\:\\:__construct\\(\\) has parameter \\$dotronConfig with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/StudyAreaApiModel.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$id of class App\\\\Api\\\\Model\\\\StudyAreaApiModel constructor expects int, int\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/StudyAreaApiModel.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getStylings\\(\\) on App\\\\Entity\\\\StylingConfiguration\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/StylingConfigurationApiModel.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Api\\\\Model\\\\StylingConfigurationApiModel\\:\\:__construct\\(\\) has parameter \\$stylings with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/StylingConfigurationApiModel.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$id of class App\\\\Api\\\\Model\\\\StylingConfigurationApiModel constructor expects int, int\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/StylingConfigurationApiModel.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$id of class App\\\\Api\\\\Model\\\\TagApiModel constructor expects int, int\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/TagApiModel.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getDotronConfig\\(\\) on App\\\\Entity\\\\ConceptRelation\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Update/UpdateConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on App\\\\Entity\\\\RelationType\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Update/UpdateConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getRelationType\\(\\) on App\\\\Entity\\\\ConceptRelation\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Update/UpdateConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Api\\\\Model\\\\Update\\\\UpdateConceptRelationApiModel\\:\\:__construct\\(\\) has parameter \\$dotronConfig with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Update/UpdateConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$id of class App\\\\Api\\\\Model\\\\Update\\\\UpdateConceptRelationApiModel constructor expects int, int\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Update/UpdateConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#2 \\$sourceId of class App\\\\Api\\\\Model\\\\Update\\\\UpdateConceptRelationApiModel constructor expects int, int\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Update/UpdateConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#3 \\$targetId of class App\\\\Api\\\\Model\\\\Update\\\\UpdateConceptRelationApiModel constructor expects int, int\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Update/UpdateConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: assign.readOnlyProperty
'message' => '#^Readonly property App\\\\Api\\\\Model\\\\Update\\\\UpdateConceptRelationApiModel\\:\\:\\$id is already assigned\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Update/UpdateConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: assign.readOnlyProperty
'message' => '#^Readonly property App\\\\Api\\\\Model\\\\Update\\\\UpdateConceptRelationApiModel\\:\\:\\$sourceId is already assigned\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Update/UpdateConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: assign.readOnlyProperty
'message' => '#^Readonly property App\\\\Api\\\\Model\\\\Update\\\\UpdateConceptRelationApiModel\\:\\:\\$targetId is already assigned\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Update/UpdateConceptRelationApiModel.php',
];
$ignoreErrors[] = [
// identifier: property.uninitializedReadonly
'message' => '#^Class App\\\\Api\\\\Model\\\\Validation\\\\ValidationError has an uninitialized readonly property \\$message\\. Assign it in the constructor\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Validation/ValidationError.php',
];
$ignoreErrors[] = [
// identifier: property.uninitializedReadonly
'message' => '#^Class App\\\\Api\\\\Model\\\\Validation\\\\ValidationError has an uninitialized readonly property \\$propertyPath\\. Assign it in the constructor\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Validation/ValidationError.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Api\\\\Model\\\\Validation\\\\ValidationFailedData\\:\\:__construct\\(\\) has parameter \\$violations with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Model/Validation/ValidationFailedData.php',
];
$ignoreErrors[] = [
// identifier: return.type
'message' => '#^Anonymous function should return App\\\\Entity\\\\UserApiToken\\|null but returns object\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Security/ApiAuthenticator.php',
];
$ignoreErrors[] = [
// identifier: missingType.parameter
'message' => '#^Method App\\\\Api\\\\Security\\\\ApiAuthenticator\\:\\:createToken\\(\\) has parameter \\$firewallName with no type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Security/ApiAuthenticator.php',
];
$ignoreErrors[] = [
// identifier: missingType.parameter
'message' => '#^Method App\\\\Api\\\\Security\\\\ApiAuthenticator\\:\\:onAuthenticationSuccess\\(\\) has parameter \\$firewallName with no type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Api/Security/ApiAuthenticator.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Attribute\\\\DenyOnFrozenStudyArea\\:\\:__construct\\(\\) has parameter \\$routeParams with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Attribute/DenyOnFrozenStudyArea.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getAddress\\(\\) on App\\\\Entity\\\\User\\|null\\.$#',
'count' => 5,
'path' => __DIR__ . '/src/Communication/Notification/ReviewNotificationService.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getFullName\\(\\) on App\\\\Entity\\\\User\\|null\\.$#',
'count' => 11,
'path' => __DIR__ . '/src/Communication/Notification/ReviewNotificationService.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method App\\\\Communication\\\\Notification\\\\ReviewNotificationService\\:\\:reviewRequested\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Communication/Notification/ReviewNotificationService.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method App\\\\Communication\\\\Notification\\\\ReviewNotificationService\\:\\:submissionApproved\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Communication/Notification/ReviewNotificationService.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method App\\\\Communication\\\\Notification\\\\ReviewNotificationService\\:\\:submissionDenied\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Communication/Notification/ReviewNotificationService.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method App\\\\Communication\\\\Notification\\\\ReviewNotificationService\\:\\:submissionPublished\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Communication/Notification/ReviewNotificationService.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Communication\\\\Notification\\\\ReviewNotificationService\\:\\:trans\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Communication/Notification/ReviewNotificationService.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method App\\\\Communication\\\\SetFromSubscriber\\:\\:onMessage\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Communication/SetFromSubscriber.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#2 \\$html of method App\\\\ConceptPrint\\\\Section\\\\LtbSection\\:\\:addSection\\(\\) expects string, string\\|null given\\.$#',
'count' => 4,
'path' => __DIR__ . '/src/ConceptPrint/Section/ConceptSection.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$concept of class App\\\\ConceptPrint\\\\Section\\\\ConceptSection constructor expects App\\\\Entity\\\\Concept, App\\\\Entity\\\\Concept\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/ConceptPrint/Section/LearningPathSection.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$func of method Doctrine\\\\Common\\\\Collections\\\\Collection\\<\\(int\\|string\\),App\\\\Entity\\\\Concept\\|null\\>\\:\\:map\\(\\) expects Closure\\(App\\\\Entity\\\\Concept\\|null\\)\\: string, Closure\\(App\\\\Entity\\\\Concept\\)\\: string given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/ConceptPrint/Section/LearningPathSection.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$html of method App\\\\ConceptPrint\\\\Section\\\\LtbSection\\:\\:convertHtmlToLatex\\(\\) expects string, string\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/ConceptPrint/Section/LearningPathSection.php',
];
$ignoreErrors[] = [
// identifier: property.nonObject
'message' => '#^Cannot access property \\$childNodes on DOMElement\\|null\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/ConceptPrint/Section/LtbSection.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method removeChild\\(\\) on DOMNode\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/ConceptPrint/Section/LtbSection.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method replaceChild\\(\\) on DOMNode\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/ConceptPrint/Section/LtbSection.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method App\\\\ConceptPrint\\\\Section\\\\LtbSection\\:\\:addSection\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/ConceptPrint/Section/LtbSection.php',
];
$ignoreErrors[] = [
// identifier: return.type
'message' => '#^Method App\\\\ConceptPrint\\\\Section\\\\LtbSection\\:\\:convertHtmlToLatex\\(\\) should return string but returns string\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/ConceptPrint/Section/LtbSection.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method App\\\\ConceptPrint\\\\Section\\\\LtbSection\\:\\:replacePlaceholder\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/ConceptPrint/Section/LtbSection.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\ConceptPrint\\\\Section\\\\LtbSection\\:\\:replacePlaceholder\\(\\) has parameter \\$replaceInfo with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/ConceptPrint/Section/LtbSection.php',
];
$ignoreErrors[] = [
// identifier: missingType.parameter
'message' => '#^Method App\\\\ConceptPrint\\\\Section\\\\LtbSection\\:\\:replacePlaceholder\\(\\) has parameter \\$replacement with no type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/ConceptPrint/Section/LtbSection.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$string of function md5 expects string, string\\|false given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/ConceptPrint/Section/LtbSection.php',
];
$ignoreErrors[] = [
// identifier: missingType.parameter
'message' => '#^Method App\\\\Console\\\\NullStyle\\:\\:caution\\(\\) has parameter \\$message with no type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Console/NullStyle.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Console\\\\NullStyle\\:\\:choice\\(\\) has parameter \\$choices with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Console/NullStyle.php',
];
$ignoreErrors[] = [
// identifier: missingType.parameter
'message' => '#^Method App\\\\Console\\\\NullStyle\\:\\:choice\\(\\) has parameter \\$default with no type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Console/NullStyle.php',
];
$ignoreErrors[] = [
// identifier: missingType.parameter
'message' => '#^Method App\\\\Console\\\\NullStyle\\:\\:error\\(\\) has parameter \\$message with no type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Console/NullStyle.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Console\\\\NullStyle\\:\\:listing\\(\\) has parameter \\$elements with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Console/NullStyle.php',
];
$ignoreErrors[] = [
// identifier: missingType.parameter
'message' => '#^Method App\\\\Console\\\\NullStyle\\:\\:note\\(\\) has parameter \\$message with no type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Console/NullStyle.php',
];
$ignoreErrors[] = [
// identifier: missingType.parameter
'message' => '#^Method App\\\\Console\\\\NullStyle\\:\\:success\\(\\) has parameter \\$message with no type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Console/NullStyle.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Console\\\\NullStyle\\:\\:table\\(\\) has parameter \\$headers with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Console/NullStyle.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Console\\\\NullStyle\\:\\:table\\(\\) has parameter \\$rows with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Console/NullStyle.php',
];
$ignoreErrors[] = [
// identifier: missingType.parameter
'message' => '#^Method App\\\\Console\\\\NullStyle\\:\\:text\\(\\) has parameter \\$message with no type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Console/NullStyle.php',
];
$ignoreErrors[] = [
// identifier: missingType.parameter
'message' => '#^Method App\\\\Console\\\\NullStyle\\:\\:warning\\(\\) has parameter \\$message with no type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Console/NullStyle.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on App\\\\Entity\\\\StudyArea\\|null\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/AbbreviationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$studyArea of method App\\\\Review\\\\ReviewService\\:\\:canObjectBeRemoved\\(\\) expects App\\\\Entity\\\\StudyArea, App\\\\Entity\\\\StudyArea\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/AbbreviationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$studyArea of method App\\\\Review\\\\ReviewService\\:\\:storeChange\\(\\) expects App\\\\Entity\\\\StudyArea, App\\\\Entity\\\\StudyArea\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/AbbreviationController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getName\\(\\) on Symfony\\\\Component\\\\Form\\\\FormInterface\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/AnalyticsController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on App\\\\Entity\\\\Annotation\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/AnnotationController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on App\\\\Entity\\\\StudyArea\\|null\\.$#',
'count' => 6,
'path' => __DIR__ . '/src/Controller/AnnotationController.php',
];
$ignoreErrors[] = [
// identifier: missingType.parameter
'message' => '#^Method App\\\\Controller\\\\AnnotationController\\:\\:validate\\(\\) has parameter \\$object with no type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/AnnotationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$context of method App\\\\Entity\\\\Annotation\\:\\:setContext\\(\\) expects string, bool\\|float\\|int\\|string given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/AnnotationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$datetime of class DateTime constructor expects string, bool\\|float\\|int\\|string given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/AnnotationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$selectedText of method App\\\\Entity\\\\Annotation\\:\\:setSelectedText\\(\\) expects string\\|null, bool\\|float\\|int\\|string\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/AnnotationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$text of method App\\\\Entity\\\\Annotation\\:\\:setText\\(\\) expects string\\|null, bool\\|float\\|int\\|string\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/AnnotationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$text of method App\\\\Entity\\\\AnnotationComment\\:\\:setText\\(\\) expects string\\|null, bool\\|float\\|int\\|string\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/AnnotationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$user of method App\\\\Entity\\\\Annotation\\:\\:setUser\\(\\) expects App\\\\Entity\\\\User\\|null, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/AnnotationController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$visibility of method App\\\\Entity\\\\Annotation\\:\\:setVisibility\\(\\) expects string, bool\\|float\\|int\\|string given\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/AnnotationController.php',
];
$ignoreErrors[] = [
// identifier: arguments.count
'message' => '#^Method Symfony\\\\Component\\\\PasswordHasher\\\\PasswordHasherInterface\\:\\:hash\\(\\) invoked with 2 parameters, 1 required\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/AuthenticationController.php',
];
$ignoreErrors[] = [
// identifier: arguments.count
'message' => '#^Method Symfony\\\\Component\\\\PasswordHasher\\\\PasswordHasherInterface\\:\\:verify\\(\\) invoked with 3 parameters, 2 required\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/AuthenticationController.php',
];
$ignoreErrors[] = [
// identifier: method.notFound
'message' => '#^Call to an undefined method App\\\\Entity\\\\Contracts\\\\ReviewableInterface\\:\\:getName\\(\\)\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/ConceptController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on App\\\\Entity\\\\StudyArea\\|null\\.$#',
'count' => 4,
'path' => __DIR__ . '/src/Controller/ConceptController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method isInstance\\(\\) on App\\\\Entity\\\\Concept\\|null\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/ConceptController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$base of closure expects App\\\\Entity\\\\Concept, App\\\\Entity\\\\Concept\\|null given\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/ConceptController.php',
];
$ignoreErrors[] = [
// identifier: ternary.alwaysTrue
'message' => '#^Ternary operator condition is always true\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/ConceptController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on App\\\\Entity\\\\StudyArea\\|null\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/ContributorController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$relationType of method App\\\\Entity\\\\ConceptRelation\\:\\:setRelationType\\(\\) expects App\\\\Entity\\\\RelationType\\|null, object given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DataController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$string of function mb_convert_encoding expects array\\<int, string\\>\\|string, string\\|false given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DataController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on class\\-string\\|object\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: missingType.parameter
'message' => '#^Method App\\\\Controller\\\\DefaultController\\:\\:findId\\(\\) has parameter \\$entry with no type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Controller\\\\DefaultController\\:\\:mapArrayById\\(\\) has parameter \\$objects with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Controller\\\\DefaultController\\:\\:mapArrayById\\(\\) return type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Controller\\\\DefaultController\\:\\:splitUrlLocation\\(\\) has parameter \\$urls with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Controller\\\\DefaultController\\:\\:splitUrlLocation\\(\\) return type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: missingType.parameter
'message' => '#^Method App\\\\Controller\\\\DefaultController\\:\\:urlRescan\\(\\) has parameter \\$url with no type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: offsetAccess.notFound
'message' => '#^Offset int does not exist on array\\<App\\\\Entity\\\\Concept\\>\\|null\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: offsetAccess.notFound
'message' => '#^Offset int does not exist on array\\<App\\\\Entity\\\\Contributor\\>\\|null\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: offsetAccess.notFound
'message' => '#^Offset int does not exist on array\\<App\\\\Entity\\\\ExternalResource\\>\\|null\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: offsetAccess.notFound
'message' => '#^Offset int does not exist on array\\<App\\\\Entity\\\\LearningOutcome\\>\\|null\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: offsetAccess.notFound
'message' => '#^Offset int does not exist on array\\<App\\\\Entity\\\\LearningPath\\>\\|null\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$array of function array_filter expects array, array\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#2 \\$array of function array_key_exists expects array, array\\<App\\\\Entity\\\\Concept\\>\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#2 \\$array of function array_key_exists expects array, array\\<App\\\\Entity\\\\Contributor\\>\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#2 \\$array of function array_key_exists expects array, array\\<App\\\\Entity\\\\ExternalResource\\>\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#2 \\$array of function array_key_exists expects array, array\\<App\\\\Entity\\\\LearningOutcome\\>\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#2 \\$array of function array_key_exists expects array, array\\<App\\\\Entity\\\\LearningPath\\>\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/DefaultController.php',
];
$ignoreErrors[] = [
// identifier: method.notFound
'message' => '#^Call to an undefined method object\\:\\:getId\\(\\)\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/ElFinderController.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Controller\\\\ElFinderController\\:\\:forwardToElFinder\\(\\) has parameter \\$query with no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/ElFinderController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on App\\\\Entity\\\\StudyArea\\|null\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/ExternalResourceController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$date of method Symfony\\\\Component\\\\HttpFoundation\\\\Response\\:\\:setLastModified\\(\\) expects DateTimeInterface\\|null, DateTime\\|false given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/LatexController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on App\\\\Entity\\\\StudyArea\\|null\\.$#',
'count' => 3,
'path' => __DIR__ . '/src/Controller/LearningOutcomeController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on App\\\\Entity\\\\StudyArea\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/LearningPathController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getEmails\\(\\) on App\\\\Entity\\\\UserGroup\\|null\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/PermissionsController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getUsers\\(\\) on App\\\\Entity\\\\UserGroup\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/PermissionsController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method removeEmail\\(\\) on App\\\\Entity\\\\UserGroup\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/PermissionsController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method removeUser\\(\\) on App\\\\Entity\\\\UserGroup\\|null\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/PermissionsController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$object of method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:remove\\(\\) expects object, App\\\\Entity\\\\UserGroupEmail\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/PermissionsController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on App\\\\Entity\\\\StudyArea\\|null\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/PrintController.php',
];
$ignoreErrors[] = [
// identifier: return.unusedType
'message' => '#^Method App\\\\Controller\\\\PrintController\\:\\:filename\\(\\) never returns array so it can be removed from the return type\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/PrintController.php',
];
$ignoreErrors[] = [
// identifier: return.unusedType
'message' => '#^Method App\\\\Controller\\\\PrintController\\:\\:filename\\(\\) never returns false so it can be removed from the return type\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/PrintController.php',
];
$ignoreErrors[] = [
// identifier: return.unusedType
'message' => '#^Method App\\\\Controller\\\\PrintController\\:\\:filename\\(\\) never returns null so it can be removed from the return type\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/PrintController.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Method App\\\\Controller\\\\PrintController\\:\\:filename\\(\\) return type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/PrintController.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method App\\\\Controller\\\\PrintController\\:\\:getProjectPath\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/PrintController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$filename of class App\\\\ConceptPrint\\\\Base\\\\ConceptPrint constructor expects string, array\\|string\\|false\\|null given\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/PrintController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$studyArea of method App\\\\ConceptPrint\\\\Base\\\\ConceptPrint\\:\\:addIntroduction\\(\\) expects App\\\\Entity\\\\StudyArea, App\\\\Entity\\\\StudyArea\\|null given\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/PrintController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$studyArea of method App\\\\ConceptPrint\\\\Base\\\\ConceptPrint\\:\\:setHeader\\(\\) expects App\\\\Entity\\\\StudyArea, App\\\\Entity\\\\StudyArea\\|null given\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/PrintController.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#2 \\$studyArea of method App\\\\Controller\\\\PrintController\\:\\:getProjectPath\\(\\) expects App\\\\Entity\\\\StudyArea, App\\\\Entity\\\\StudyArea\\|null given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Controller/PrintController.php',
];
$ignoreErrors[] = [
// identifier: method.nonObject
'message' => '#^Cannot call method getId\\(\\) on App\\\\Entity\\\\StudyArea\\|null\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/RelationTypeController.php',
];
$ignoreErrors[] = [
// identifier: deadCode.unreachable
'message' => '#^Unreachable statement \\- code above always terminates\\.$#',
'count' => 2,
'path' => __DIR__ . '/src/Controller/RelationTypeController.php',
];
$ignoreErrors[] = [