Newer
Older
<?php declare(strict_types = 1);
$ignoreErrors = [];
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
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Generator\\\\PackageGenerator\\:\\:generate\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Generator/PackageGenerator.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\ProjectMessage\\\\Message\\:\\:getText\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/ProjectMessage/Message.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\ProjectMessage\\\\MessagePlugin\\:\\:displayPostCreateMessage\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/ProjectMessage/MessagePlugin.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\Scaffold\\\\AllowedPackages\\:\\:event\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/AllowedPackages.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\Scaffold\\\\Handler\\:\\:onPostPackageEvent\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/Handler.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\Scaffold\\\\Handler\\:\\:requireWasCalled\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/Handler.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\Scaffold\\\\Handler\\:\\:scaffold\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/Handler.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\Scaffold\\\\ManageGitIgnore\\:\\:addToGitIgnore\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/ManageGitIgnore.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\Scaffold\\\\ManageGitIgnore\\:\\:manageIgnored\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/ManageGitIgnore.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\Scaffold\\\\ManageOptions\\:\\:ensureLocations\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/ManageOptions.php',
];
$ignoreErrors[] = [

Alex Pott
committed
// identifier: empty.variable
'message' => '#^Variable \\$data_path in empty\\(\\) always exists and is not falsy\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/Operations/AppendOp.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\Scaffold\\\\Operations\\\\ScaffoldFileCollection\\:\\:filterFiles\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/Operations/ScaffoldFileCollection.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\Scaffold\\\\Plugin\\:\\:handler\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/Plugin.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\Scaffold\\\\Plugin\\:\\:onCommand\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/Plugin.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\Scaffold\\\\Plugin\\:\\:postCmd\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/Plugin.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\Scaffold\\\\Plugin\\:\\:postPackage\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/Plugin.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\Scaffold\\\\PostPackageEventListenerInterface\\:\\:event\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/PostPackageEventListenerInterface.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Composer\\\\Plugin\\\\Scaffold\\\\ScaffoldFilePath\\:\\:addInterpolationData\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/../composer/Plugin/Scaffold/ScaffoldFilePath.php',
];
$ignoreErrors[] = [
// identifier: variable.undefined
'message' => '#^Variable \\$app_root might not be defined\\.$#',
'count' => 1,
'path' => __DIR__ . '/assets/scaffold/files/default.settings.php',
];
$ignoreErrors[] = [

Alex Pott
committed
// identifier: variable.undefined
'message' => '#^Variable \\$site_path might not be defined\\.$#',
'count' => 1,
'path' => __DIR__ . '/assets/scaffold/files/default.settings.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _batch_current_set\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/batch.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _batch_do\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/batch.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _batch_finished\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/batch.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _batch_page\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/batch.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _batch_progress_page\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/batch.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _batch_shutdown\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/batch.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _drupal_error_handler\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/bootstrap.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _drupal_exception_handler\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/bootstrap.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _drupal_exception_handler_additional\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/bootstrap.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _drupal_shutdown_function\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/bootstrap.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _drupal_shutdown_function_handle_exception\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/bootstrap.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function drupal_maintenance_theme\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/bootstrap.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function drupal_static_reset\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/bootstrap.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function base_path\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/common.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function drupal_attach_tabledrag\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/common.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function drupal_flush_all_caches\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/common.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _drupal_error_handler_real\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/errors.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _drupal_error_header\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/errors.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _drupal_log_error\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/errors.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function drupal_error_levels\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/errors.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _batch_append_set\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _batch_populate_queue\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function batch_get\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function batch_set\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_checkboxes\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_details\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_fieldset\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_form\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_form_element\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_form_element_label\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_input\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_radios\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_select\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_textarea\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_vertical_tabs\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: variable.undefined
'message' => '#^Variable \\$new_set_index might not be defined\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/form.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _install_config_locale_overrides_process_batch\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _install_module_batch\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _install_prepare_import\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_base_system\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_begin_request\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_bootstrap_full\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_check_requirements\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [

Alex Pott
committed
// identifier: return.missing
'message' => '#^Function install_config_download_translations\\(\\) should return string but return statement is missing\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_config_import_batch\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_config_revert_install_changes\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_core_entity_type_definitions\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_database_errors\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_display_output\\(\\) has no return type specified\\.$#',
'count' => 1,
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
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: return.missing
'message' => '#^Function install_download_translation\\(\\) should return string but return statement is missing\\.$#',
'count' => 2,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_drupal\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_finished\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_install_profile\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_load_profile\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_profile_themes\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_recipe_batch\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_recipe_required_modules\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_state_defaults\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_verify_database_ready\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.core.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function drupal_install_system\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function drupal_load_updates\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function install_goto\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/install.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function module_set_weight\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/module.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _field_multiple_value_form_sort_helper\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _system_default_theme_features\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _template_preprocess_default_variables\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function drupal_common_theme\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function drupal_find_theme_templates\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_breadcrumb\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_container\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_datetime_form\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_datetime_wrapper\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_field\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_field_multiple_value_form\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_html\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_image\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_install_page\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_item_list\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_links\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_maintenance_page\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_maintenance_task_list\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_menu_local_action\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_menu_local_task\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_page\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_pager\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_region\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_table\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_time\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: variable.undefined
'message' => '#^Variable \\$items might not be defined\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _drupal_maintenance_theme\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.maintenance.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function template_preprocess_authorize_report\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.maintenance.inc',
];
$ignoreErrors[] = [
// identifier: variable.undefined
'message' => '#^Variable \\$custom_theme might not be defined\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/theme.maintenance.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function _update_fix_missing_schema\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/update.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function update_check_requirements\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/update.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function update_do_one\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/update.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function update_invoke_post_update\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/update.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Function drupal_rebuild\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/includes/utility.inc',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\:\\:setContainer\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\:\\:unsetContainer\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Annotation\\\\AnnotationBase\\:\\:setClass\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Annotation/AnnotationBase.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Annotation\\\\AnnotationBase\\:\\:setProvider\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Annotation/AnnotationBase.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Annotation\\\\AnnotationInterface\\:\\:get\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Annotation/AnnotationInterface.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Annotation\\\\AnnotationInterface\\:\\:setClass\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Annotation/AnnotationInterface.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Annotation\\\\AnnotationInterface\\:\\:setProvider\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Annotation/AnnotationInterface.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Annotation\\\\Doctrine\\\\StaticReflectionClass\\:\\:export\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Annotation\\\\Plugin\\:\\:get\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Annotation/Plugin.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Annotation\\\\Plugin\\:\\:setClass\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Annotation/Plugin.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Annotation\\\\Plugin\\:\\:setProvider\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Annotation/Plugin.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Annotation\\\\Plugin\\\\Discovery\\\\AnnotatedClassDiscovery\\:\\:prepareAnnotationDefinition\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Annotation\\\\PluginID\\:\\:get\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Annotation/PluginID.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Annotation\\\\Reflection\\\\MockFileFinder\\:\\:create\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Annotation/Reflection/MockFileFinder.php',
];
$ignoreErrors[] = [
// identifier: method.notFound
'message' => '#^Call to an undefined method Drupal\\\\Component\\\\Datetime\\\\DateTimePlus\\:\\:getTimeZone\\(\\)\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Datetime/DateTimePlus.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Datetime\\\\DateTimePlus\\:\\:__callStatic\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Datetime/DateTimePlus.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Datetime\\\\DateTimePlus\\:\\:_die\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Datetime/DateTimePlus.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Datetime\\\\DateTimePlus\\:\\:checkErrors\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Datetime/DateTimePlus.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Datetime\\\\DateTimePlus\\:\\:setDefaultDateTime\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Datetime/DateTimePlus.php',
];
$ignoreErrors[] = [
// identifier: variable.undefined
'message' => '#^Variable \\$value might not be defined\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Datetime/DateTimePlus.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\DiffFormatter\\:\\:_added\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\DiffFormatter\\:\\:_block\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\DiffFormatter\\:\\:_block_header\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\DiffFormatter\\:\\:_changed\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\DiffFormatter\\:\\:_context\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\DiffFormatter\\:\\:_deleted\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\DiffFormatter\\:\\:_end_block\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\DiffFormatter\\:\\:_end_diff\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\DiffFormatter\\:\\:_lines\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\DiffFormatter\\:\\:_start_block\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\DiffFormatter\\:\\:_start_diff\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: variable.undefined
'message' => '#^Variable \\$x0 might not be defined\\.$#',
'count' => 4,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: empty.variable
'message' => '#^Variable \\$xi in empty\\(\\) always exists and is not falsy\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: variable.undefined
'message' => '#^Variable \\$y0 might not be defined\\.$#',
'count' => 4,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: empty.variable
'message' => '#^Variable \\$yi in empty\\(\\) always exists and is not falsy\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/DiffFormatter.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\Engine\\\\HWLDFWordAccumulator\\:\\:_flushGroup\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\Engine\\\\HWLDFWordAccumulator\\:\\:_flushLine\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\Engine\\\\HWLDFWordAccumulator\\:\\:addWords\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\Engine\\\\HWLDFWordAccumulator\\:\\:getLines\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\WordLevelDiff\\:\\:_split\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/WordLevelDiff.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\WordLevelDiff\\:\\:closing\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/WordLevelDiff.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\Diff\\\\WordLevelDiff\\:\\:orig\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/Diff/WordLevelDiff.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\FileCache\\\\ApcuFileCacheBackend\\:\\:delete\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/FileCache/ApcuFileCacheBackend.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\FileCache\\\\ApcuFileCacheBackend\\:\\:store\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/FileCache/ApcuFileCacheBackend.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\FileCache\\\\FileCache\\:\\:delete\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/FileCache/FileCache.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\FileCache\\\\FileCache\\:\\:reset\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/FileCache/FileCache.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\FileCache\\\\FileCache\\:\\:set\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/FileCache/FileCache.php',
];
$ignoreErrors[] = [
// identifier: missingType.return
'message' => '#^Method Drupal\\\\Component\\\\FileCache\\\\FileCacheBackendInterface\\:\\:delete\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/lib/Drupal/Component/FileCache/FileCacheBackendInterface.php',
];
$ignoreErrors[] = [