Passed
Pull Request — master (#209)
by
unknown
33:50 queued 24:56
created
Classes/Domain/Model/CrossRefMetadata.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,12 +50,12 @@
 block discarded – undo
50 50
 
51 51
             $name = ['family' => '', 'given' => ''];
52 52
 
53
-            $family =  $xpath->query('family', $person);
53
+            $family = $xpath->query('family', $person);
54 54
             if ($family->length > 0) {
55 55
                 $name['family'] = $family->item(0)->nodeValue;
56 56
             }
57 57
 
58
-            $given =  $xpath->query('given', $person);
58
+            $given = $xpath->query('given', $person);
59 59
             if ($given->length > 0) {
60 60
                 $name['given'] = $given->item(0)->nodeValue;
61 61
             }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
 /**
18 18
  * CrossRefMetadata
19 19
  */
20
-class CrossRefMetadata extends ExternalMetadata
21
-{
20
+class CrossRefMetadata extends ExternalMetadata {
22 21
 
23 22
     /**
24 23
      * @return string
Please login to merge, or discard this patch.
Classes/Domain/Model/Client.php 3 patches
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -440,49 +440,49 @@
 block discarded – undo
440 440
      *
441 441
      * @var string
442 442
      */
443
-    protected $personXpath  = '';
443
+    protected $personXpath = '';
444 444
 
445 445
     /**
446 446
      * Person family Xpath
447 447
      *
448 448
      * @var string
449 449
      */
450
-    protected $personFamilyXpath  = '';
450
+    protected $personFamilyXpath = '';
451 451
 
452 452
     /**
453 453
      * Person given xpath
454 454
      *
455 455
      * @var string
456 456
      */
457
-    protected $personGivenXpath  = '';
457
+    protected $personGivenXpath = '';
458 458
 
459 459
     /**
460 460
      * Person role xpath
461 461
      *
462 462
      * @var string
463 463
      */
464
-    protected $personRoleXpath  = '';
464
+    protected $personRoleXpath = '';
465 465
 
466 466
     /**
467 467
      * Person fis identifier xpath
468 468
      *
469 469
      * @var string
470 470
      */
471
-    protected $personFisIdentifierXpath  = '';
471
+    protected $personFisIdentifierXpath = '';
472 472
 
473 473
     /**
474 474
      * Person affiliation xpath
475 475
      *
476 476
      * @var string
477 477
      */
478
-    protected $personAffiliationXpath  = '';
478
+    protected $personAffiliationXpath = '';
479 479
 
480 480
     /**
481 481
      * Person affiliation identifier xpath
482 482
      *
483 483
      * @var string
484 484
      */
485
-    protected $personAffiliationIdentifierXpath  = '';
485
+    protected $personAffiliationIdentifierXpath = '';
486 486
 
487 487
     /**
488 488
      * Source details xpaths (Semicolon separated)
Please login to merge, or discard this patch.
Braces   +98 added lines, -196 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@  discard block
 block discarded – undo
17 17
 /**
18 18
  * Client
19 19
  */
20
-class Client extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
21
-{
20
+class Client extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
22 21
 
23 22
     /**
24 23
      * project
@@ -627,8 +626,7 @@  discard block
 block discarded – undo
627 626
      *
628 627
      * @return string $project
629 628
      */
630
-    public function getProject()
631
-    {
629
+    public function getProject() {
632 630
         return $this->project;
633 631
     }
634 632
 
@@ -638,8 +636,7 @@  discard block
 block discarded – undo
638 636
      * @param string $project
639 637
      * @return void
640 638
      */
641
-    public function setProject($project)
642
-    {
639
+    public function setProject($project) {
643 640
         $this->project = $project;
644 641
     }
645 642
 
@@ -648,8 +645,7 @@  discard block
 block discarded – undo
648 645
      *
649 646
      * @return string $client
650 647
      */
651
-    public function getClient()
652
-    {
648
+    public function getClient() {
653 649
         return $this->client;
654 650
     }
655 651
 
@@ -659,8 +655,7 @@  discard block
 block discarded – undo
659 655
      * @param string $client
660 656
      * @return void
661 657
      */
662
-    public function setClient($client)
663
-    {
658
+    public function setClient($client) {
664 659
         $this->client = $client;
665 660
     }
666 661
 
@@ -669,8 +664,7 @@  discard block
 block discarded – undo
669 664
      *
670 665
      * @return string $networkInitial
671 666
      */
672
-    public function getNetworkInitial()
673
-    {
667
+    public function getNetworkInitial() {
674 668
         return $this->networkInitial;
675 669
     }
676 670
 
@@ -680,8 +674,7 @@  discard block
 block discarded – undo
680 674
      * @param string $networkInitial
681 675
      * @return void
682 676
      */
683
-    public function setNetworkInitial($networkInitial)
684
-    {
677
+    public function setNetworkInitial($networkInitial) {
685 678
         $this->networkInitial = $networkInitial;
686 679
     }
687 680
 
@@ -690,8 +683,7 @@  discard block
 block discarded – undo
690 683
      *
691 684
      * @return string $libraryIdentifier
692 685
      */
693
-    public function getLibraryIdentifier()
694
-    {
686
+    public function getLibraryIdentifier() {
695 687
         return $this->libraryIdentifier;
696 688
     }
697 689
 
@@ -701,8 +693,7 @@  discard block
 block discarded – undo
701 693
      * @param string $libraryIdentifier
702 694
      * @return void
703 695
      */
704
-    public function setLibraryIdentifier($libraryIdentifier)
705
-    {
696
+    public function setLibraryIdentifier($libraryIdentifier) {
706 697
         $this->libraryIdentifier = $libraryIdentifier;
707 698
     }
708 699
 
@@ -711,8 +702,7 @@  discard block
 block discarded – undo
711 702
      *
712 703
      * @return string
713 704
      */
714
-    public function getOwnerId()
715
-    {
705
+    public function getOwnerId() {
716 706
         return $this->ownerId;
717 707
     }
718 708
 
@@ -722,8 +712,7 @@  discard block
 block discarded – undo
722 712
      * @param string $ownerId
723 713
      * @return void
724 714
      */
725
-    public function setOwnerId($ownerId)
726
-    {
715
+    public function setOwnerId($ownerId) {
727 716
         $this->ownerId = $ownerId;
728 717
     }
729 718
 
@@ -732,8 +721,7 @@  discard block
 block discarded – undo
732 721
      *
733 722
      * @return string
734 723
      */
735
-    public function getAdminEmail()
736
-    {
724
+    public function getAdminEmail() {
737 725
         return $this->adminEmail;
738 726
     }
739 727
 
@@ -742,8 +730,7 @@  discard block
 block discarded – undo
742 730
      *
743 731
      * @return string
744 732
      */
745
-    public function setAdminEmail($adminEmail)
746
-    {
733
+    public function setAdminEmail($adminEmail) {
747 734
         $this->adminEmail = $adminEmail;
748 735
     }
749 736
 
@@ -752,8 +739,7 @@  discard block
 block discarded – undo
752 739
      *
753 740
      * @return string $nissPartSearch
754 741
      */
755
-    public function getNissPartSearch()
756
-    {
742
+    public function getNissPartSearch() {
757 743
         return $this->nissPartSearch;
758 744
     }
759 745
 
@@ -763,8 +749,7 @@  discard block
 block discarded – undo
763 749
      * @param string $nissPartSearch
764 750
      * @return void
765 751
      */
766
-    public function setNissPartSearch($nissPartSearch)
767
-    {
752
+    public function setNissPartSearch($nissPartSearch) {
768 753
         $this->nissPartSearch = $nissPartSearch;
769 754
     }
770 755
 
@@ -773,8 +758,7 @@  discard block
 block discarded – undo
773 758
      *
774 759
      * @return string $nissPartReplace
775 760
      */
776
-    public function getNissPartReplace()
777
-    {
761
+    public function getNissPartReplace() {
778 762
         return $this->nissPartReplace;
779 763
     }
780 764
 
@@ -784,8 +768,7 @@  discard block
 block discarded – undo
784 768
      * @param string $nissPartReplace
785 769
      * @return void
786 770
      */
787
-    public function setNissPartReplace($nissPartReplace)
788
-    {
771
+    public function setNissPartReplace($nissPartReplace) {
789 772
         $this->nissPartReplace = $nissPartReplace;
790 773
     }
791 774
 
@@ -794,8 +777,7 @@  discard block
 block discarded – undo
794 777
      *
795 778
      * @return boolean $replaceNissPart
796 779
      */
797
-    public function getReplaceNissPart()
798
-    {
780
+    public function getReplaceNissPart() {
799 781
         return $this->replaceNissPart;
800 782
     }
801 783
 
@@ -805,8 +787,7 @@  discard block
 block discarded – undo
805 787
      * @param boolean $replaceNissPart
806 788
      * @return void
807 789
      */
808
-    public function setReplaceNissPart($replaceNissPart)
809
-    {
790
+    public function setReplaceNissPart($replaceNissPart) {
810 791
         $this->replaceNissPart = boolval($replaceNissPart);
811 792
     }
812 793
 
@@ -815,8 +796,7 @@  discard block
 block discarded – undo
815 796
      *
816 797
      * @return string $swordHost
817 798
      */
818
-    public function getSwordHost()
819
-    {
799
+    public function getSwordHost() {
820 800
         return $this->swordHost;
821 801
     }
822 802
 
@@ -826,8 +806,7 @@  discard block
 block discarded – undo
826 806
      * @var string $swordHost
827 807
      * @return void
828 808
      */
829
-    public function setSwordHost($swordHost)
830
-    {
809
+    public function setSwordHost($swordHost) {
831 810
         $this->swordHost = $swordHost;
832 811
     }
833 812
 
@@ -836,8 +815,7 @@  discard block
 block discarded – undo
836 815
      *
837 816
      * @return string $swordUser
838 817
      */
839
-    public function getSwordUser()
840
-    {
818
+    public function getSwordUser() {
841 819
         return $this->swordUser;
842 820
     }
843 821
 
@@ -847,8 +825,7 @@  discard block
 block discarded – undo
847 825
      * @var string $swordUser
848 826
      * @return void
849 827
      */
850
-    public function setSwordUser($swordUser)
851
-    {
828
+    public function setSwordUser($swordUser) {
852 829
         $this->swordUser = $swordUser;
853 830
     }
854 831
 
@@ -857,8 +834,7 @@  discard block
 block discarded – undo
857 834
      *
858 835
      * @return string $swordPassword
859 836
      */
860
-    public function getSwordPassword()
861
-    {
837
+    public function getSwordPassword() {
862 838
         return $this->swordPassword;
863 839
     }
864 840
     
@@ -868,8 +844,7 @@  discard block
 block discarded – undo
868 844
      * @var string $swordPassword
869 845
      * @return void
870 846
      */
871
-    public function setSwordPassword($swordPassword)
872
-    {
847
+    public function setSwordPassword($swordPassword) {
873 848
         $this->swordPassword = $swordPassword;
874 849
     }
875 850
 
@@ -878,8 +853,7 @@  discard block
 block discarded – undo
878 853
      *
879 854
      * @return string $swordCollectionNamespace
880 855
      */
881
-    public function getSwordCollectionNamespace()
882
-    {
856
+    public function getSwordCollectionNamespace() {
883 857
         return $this->swordCollectionNamespace;
884 858
     }
885 859
 
@@ -889,8 +863,7 @@  discard block
 block discarded – undo
889 863
      * @var string $swordCollectionNamespace
890 864
      * @return void
891 865
      */
892
-    public function setSwordCollectionNamespace($swordCollectionNamespace)
893
-    {
866
+    public function setSwordCollectionNamespace($swordCollectionNamespace) {
894 867
         $this->swordCollectionNamespace = $swordCollectionNamespace;
895 868
     }
896 869
 
@@ -899,8 +872,7 @@  discard block
 block discarded – undo
899 872
      *
900 873
      * @return string $fedoraHost
901 874
      */
902
-    public function getFedoraHost()
903
-    {
875
+    public function getFedoraHost() {
904 876
         return $this->fedoraHost;
905 877
     }
906 878
 
@@ -910,8 +882,7 @@  discard block
 block discarded – undo
910 882
      * @var string $fedoraHost
911 883
      * @return void
912 884
      */
913
-    public function setFedoraHost($fedoraHost)
914
-    {
885
+    public function setFedoraHost($fedoraHost) {
915 886
         $this->fedoraHost = $fedoraHost;
916 887
     }
917 888
 
@@ -920,8 +891,7 @@  discard block
 block discarded – undo
920 891
      *
921 892
      * @return string $fedoraUser
922 893
      */
923
-    public function getFedoraUser()
924
-    {
894
+    public function getFedoraUser() {
925 895
         return $this->fedoraUser;
926 896
     }
927 897
 
@@ -931,8 +901,7 @@  discard block
 block discarded – undo
931 901
      * @var string $fedoraUser
932 902
      * @return void
933 903
      */
934
-    public function setFedoraUser($fedoraUser)
935
-    {
904
+    public function setFedoraUser($fedoraUser) {
936 905
         $this->fedoraUser = $fedoraUser;
937 906
     }
938 907
 
@@ -941,8 +910,7 @@  discard block
 block discarded – undo
941 910
      *
942 911
      * @return string $fedoraPassword
943 912
      */
944
-    public function getFedoraPassword()
945
-    {
913
+    public function getFedoraPassword() {
946 914
         return $this->fedoraPassword;
947 915
     }
948 916
 
@@ -952,8 +920,7 @@  discard block
 block discarded – undo
952 920
      * @var string $fedoraPassword
953 921
      * @return void
954 922
      */
955
-    public function setFedoraPassword($fedoraPassword)
956
-    {
923
+    public function setFedoraPassword($fedoraPassword) {
957 924
         $this->fedoraPassword = $fedoraPassword;
958 925
     }
959 926
 
@@ -962,8 +929,7 @@  discard block
 block discarded – undo
962 929
      *
963 930
      * @return string $elasticSearchHost
964 931
      */
965
-    public function getElasticSearchHost()
966
-    {
932
+    public function getElasticSearchHost() {
967 933
         return $this->elasticSearchHost;
968 934
     }
969 935
 
@@ -973,8 +939,7 @@  discard block
 block discarded – undo
973 939
      * @var string $elasticSearchHost
974 940
      * @return void
975 941
      */
976
-    public function setElasticSearchHost($elasticSearchHost)
977
-    {
942
+    public function setElasticSearchHost($elasticSearchHost) {
978 943
         $this->elasticSearchHost = $elasticSearchHost;
979 944
     }
980 945
 
@@ -983,8 +948,7 @@  discard block
 block discarded – undo
983 948
      *
984 949
      * @return string $elasticSearchPort
985 950
      */
986
-    public function getElasticSearchPort()
987
-    {
951
+    public function getElasticSearchPort() {
988 952
         return $this->elasticSearchPort;
989 953
     }
990 954
 
@@ -994,8 +958,7 @@  discard block
 block discarded – undo
994 958
      * @var string $elasticSearchPort
995 959
      * @return void
996 960
      */
997
-    public function setElasticSearchPort($elasticSearchPort)
998
-    {
961
+    public function setElasticSearchPort($elasticSearchPort) {
999 962
         $this->elasticSearchPort = $elasticSearchPort;
1000 963
     }
1001 964
 
@@ -1004,8 +967,7 @@  discard block
 block discarded – undo
1004 967
      *
1005 968
      * @return string $uploadDirectory
1006 969
      */
1007
-    public function getUploadDirectory()
1008
-    {
970
+    public function getUploadDirectory() {
1009 971
         return $this->uploadDirectory;
1010 972
     }
1011 973
 
@@ -1015,8 +977,7 @@  discard block
 block discarded – undo
1015 977
      * @var string $uploadDirectory
1016 978
      * @return void
1017 979
      */
1018
-    public function setUploadDirectory($uploadDirectory)
1019
-    {
980
+    public function setUploadDirectory($uploadDirectory) {
1020 981
         $this->uploadDirectory = $uploadDirectory;
1021 982
     }
1022 983
 
@@ -1025,8 +986,7 @@  discard block
 block discarded – undo
1025 986
      *
1026 987
      * @return string $uploadDomain
1027 988
      */
1028
-    public function getUploadDomain()
1029
-    {
989
+    public function getUploadDomain() {
1030 990
         return $this->uploadDomain;
1031 991
     }
1032 992
 
@@ -1036,8 +996,7 @@  discard block
 block discarded – undo
1036 996
      * @var string $uploadDomain
1037 997
      * @return void
1038 998
      */
1039
-    public function setUploadDomain($uploadDomain)
1040
-    {
999
+    public function setUploadDomain($uploadDomain) {
1041 1000
         $this->uploadDomain = $uploadDomain;
1042 1001
     }
1043 1002
 
@@ -1047,8 +1006,7 @@  discard block
 block discarded – undo
1047 1006
      *
1048 1007
      * @return string
1049 1008
      */
1050
-    public function getSubmitterIngestNotificationSubject()
1051
-    {
1009
+    public function getSubmitterIngestNotificationSubject() {
1052 1010
         return $this->submitterIngestNotificationSubject;
1053 1011
     }
1054 1012
 
@@ -1058,8 +1016,7 @@  discard block
 block discarded – undo
1058 1016
      * @var string $submitterIngestNotificationSubject
1059 1017
      * @return void
1060 1018
      */
1061
-    public function setSubmitterIngestNotificationSubject($submitterIngestNotificationSubject)
1062
-    {
1019
+    public function setSubmitterIngestNotificationSubject($submitterIngestNotificationSubject) {
1063 1020
         $this->submitterIngestNotificationSubject = $submitterIngestNotificationSubject;
1064 1021
     }
1065 1022
 
@@ -1068,8 +1025,7 @@  discard block
 block discarded – undo
1068 1025
      *
1069 1026
      * @return string
1070 1027
      */
1071
-    public function getSubmitterIngestNotificationBody()
1072
-    {
1028
+    public function getSubmitterIngestNotificationBody() {
1073 1029
         return $this->submitterIngestNotificationBody;
1074 1030
     }
1075 1031
 
@@ -1079,8 +1035,7 @@  discard block
 block discarded – undo
1079 1035
      * @var string $submitterIngestNotificationBody
1080 1036
      * @return void
1081 1037
      */
1082
-    public function setSubmitterIngestNotificationBody($submitterIngestNotificationBody)
1083
-    {
1038
+    public function setSubmitterIngestNotificationBody($submitterIngestNotificationBody) {
1084 1039
         $this->submitterIngestNotificationBody = $submitterIngestNotificationBody;
1085 1040
     }
1086 1041
 
@@ -1089,8 +1044,7 @@  discard block
 block discarded – undo
1089 1044
      *
1090 1045
      * @return string
1091 1046
      */
1092
-    public function getSubmitterNewDocumentNotificationSubject()
1093
-    {
1047
+    public function getSubmitterNewDocumentNotificationSubject() {
1094 1048
         return $this->submitterNewDocumentNotificationSubject;
1095 1049
     }
1096 1050
 
@@ -1100,8 +1054,7 @@  discard block
 block discarded – undo
1100 1054
      * @var string $submitterNewDocumentNotificationSubject
1101 1055
      * @return void
1102 1056
      */
1103
-    public function setSubmitterNewDocumentNotificationSubject($submitterNewDocumentNotificationSubject)
1104
-    {
1057
+    public function setSubmitterNewDocumentNotificationSubject($submitterNewDocumentNotificationSubject) {
1105 1058
         $this->submitterNewDocumentNotificationSubject = $submitterNewDocumentNotificationSubject;
1106 1059
     }
1107 1060
 
@@ -1110,8 +1063,7 @@  discard block
 block discarded – undo
1110 1063
      *
1111 1064
      * @return string
1112 1065
      */
1113
-    public function getSubmitterNewDocumentNotificationBody()
1114
-    {
1066
+    public function getSubmitterNewDocumentNotificationBody() {
1115 1067
         return $this->submitterNewDocumentNotificationBody;
1116 1068
     }
1117 1069
 
@@ -1121,8 +1073,7 @@  discard block
 block discarded – undo
1121 1073
      * @var string $submitterNewDocumentNotificationBody
1122 1074
      * @return void
1123 1075
      */
1124
-    public function setSubmitterNewDocumentNotificationBody($submitterNewDocumentNotificationBody)
1125
-    {
1076
+    public function setSubmitterNewDocumentNotificationBody($submitterNewDocumentNotificationBody) {
1126 1077
         $this->submitterNewDocumentNotificationBody = $submitterNewDocumentNotificationBody;
1127 1078
     }
1128 1079
 
@@ -1131,8 +1082,7 @@  discard block
 block discarded – undo
1131 1082
      *
1132 1083
      * @return string
1133 1084
      */
1134
-    public function getAdminNewDocumentNotificationSubject()
1135
-    {
1085
+    public function getAdminNewDocumentNotificationSubject() {
1136 1086
         return $this->adminNewDocumentNotificationSubject;
1137 1087
     }
1138 1088
 
@@ -1142,8 +1092,7 @@  discard block
 block discarded – undo
1142 1092
      * @var string $adminNewDocumentNotificationSubject
1143 1093
      * @return void
1144 1094
      */
1145
-    public function setAdminNewDocumentNotificationSubject($adminNewDocumentNotificationSubject)
1146
-    {
1095
+    public function setAdminNewDocumentNotificationSubject($adminNewDocumentNotificationSubject) {
1147 1096
         $this->adminNewDocumentNotificationSubject = $adminNewDocumentNotificationSubject;
1148 1097
     }
1149 1098
 
@@ -1152,8 +1101,7 @@  discard block
 block discarded – undo
1152 1101
      *
1153 1102
      * @return string
1154 1103
      */
1155
-    public function getAdminNewDocumentNotificationBody()
1156
-    {
1104
+    public function getAdminNewDocumentNotificationBody() {
1157 1105
         return $this->adminNewDocumentNotificationBody;
1158 1106
     }
1159 1107
 
@@ -1163,8 +1111,7 @@  discard block
 block discarded – undo
1163 1111
      * @var string $adminNewDocumentNotificationBody
1164 1112
      * @return void
1165 1113
      */
1166
-    public function setAdminNewDocumentNotificationBody($adminNewDocumentNotificationBody)
1167
-    {
1114
+    public function setAdminNewDocumentNotificationBody($adminNewDocumentNotificationBody) {
1168 1115
         $this->adminNewDocumentNotificationBody = $adminNewDocumentNotificationBody;
1169 1116
     }
1170 1117
 
@@ -1173,8 +1120,7 @@  discard block
 block discarded – undo
1173 1120
      *
1174 1121
      * @return string
1175 1122
      */
1176
-    public function getAdminRegisterDocumentNotificationSubject()
1177
-    {
1123
+    public function getAdminRegisterDocumentNotificationSubject() {
1178 1124
         return $this->adminRegisterDocumentNotificationSubject;
1179 1125
     }
1180 1126
 
@@ -1184,8 +1130,7 @@  discard block
 block discarded – undo
1184 1130
      * @var string $adminRegisterDocumentNotificationSubject
1185 1131
      * @return void
1186 1132
      */
1187
-    public function setAdminRegisterDocumentNotificationSubject($adminRegisterDocumentNotificationSubject)
1188
-    {
1133
+    public function setAdminRegisterDocumentNotificationSubject($adminRegisterDocumentNotificationSubject) {
1189 1134
         $this->adminRegisterDocumentNotificationSubject = $adminRegisterDocumentNotificationSubject;
1190 1135
     }
1191 1136
 
@@ -1194,8 +1139,7 @@  discard block
 block discarded – undo
1194 1139
      *
1195 1140
      * @return string
1196 1141
      */
1197
-    public function getAdminRegisterDocumentNotificationBody()
1198
-    {
1142
+    public function getAdminRegisterDocumentNotificationBody() {
1199 1143
         return $this->adminRegisterDocumentNotificationBody;
1200 1144
     }
1201 1145
 
@@ -1205,8 +1149,7 @@  discard block
 block discarded – undo
1205 1149
      * @var string $adminRegisterDocumentNotificationBody
1206 1150
      * @return void
1207 1151
      */
1208
-    public function setAdminRegisterDocumentNotificationBody($adminRegisterDocumentNotificationBody)
1209
-    {
1152
+    public function setAdminRegisterDocumentNotificationBody($adminRegisterDocumentNotificationBody) {
1210 1153
         $this->adminRegisterDocumentNotificationBody = $adminRegisterDocumentNotificationBody;
1211 1154
     }
1212 1155
 
@@ -1221,8 +1164,7 @@  discard block
 block discarded – undo
1221 1164
     /**
1222 1165
      * @param string $adminNewSuggestionSubject
1223 1166
      */
1224
-    public function setAdminNewSuggestionSubject(string $adminNewSuggestionSubject)
1225
-    {
1167
+    public function setAdminNewSuggestionSubject(string $adminNewSuggestionSubject) {
1226 1168
         $this->adminNewSuggestionSubject = $adminNewSuggestionSubject;
1227 1169
     }
1228 1170
 
@@ -1237,8 +1179,7 @@  discard block
 block discarded – undo
1237 1179
     /**
1238 1180
      * @param string $adminNewSuggestionBody
1239 1181
      */
1240
-    public function setAdminNewSuggestionBody(string $adminNewSuggestionBody)
1241
-    {
1182
+    public function setAdminNewSuggestionBody(string $adminNewSuggestionBody) {
1242 1183
         $this->adminNewSuggestionBody = $adminNewSuggestionBody;
1243 1184
     }
1244 1185
 
@@ -1253,8 +1194,7 @@  discard block
 block discarded – undo
1253 1194
     /**
1254 1195
      * @param string $adminEmbargoSubject
1255 1196
      */
1256
-    public function setAdminEmbargoSubject(string $adminEmbargoSubject)
1257
-    {
1197
+    public function setAdminEmbargoSubject(string $adminEmbargoSubject) {
1258 1198
         $this->adminEmbargoSubject = $adminEmbargoSubject;
1259 1199
     }
1260 1200
 
@@ -1269,8 +1209,7 @@  discard block
 block discarded – undo
1269 1209
     /**
1270 1210
      * @param string $adminEmbargoBody
1271 1211
      */
1272
-    public function setAdminEmbargoBody(string $adminEmbargoBody)
1273
-    {
1212
+    public function setAdminEmbargoBody(string $adminEmbargoBody) {
1274 1213
         $this->adminEmbargoBody = $adminEmbargoBody;
1275 1214
     }
1276 1215
 
@@ -1285,8 +1224,7 @@  discard block
 block discarded – undo
1285 1224
     /**
1286 1225
      * @param string $suggestionFlashmessage
1287 1226
      */
1288
-    public function setSuggestionFlashmessage(string $suggestionFlashmessage)
1289
-    {
1227
+    public function setSuggestionFlashmessage(string $suggestionFlashmessage) {
1290 1228
         $this->suggestionFlashmessage = $suggestionFlashmessage;
1291 1229
     }
1292 1230
 
@@ -1603,8 +1541,7 @@  discard block
 block discarded – undo
1603 1541
     /**
1604 1542
      * @param string $fileXpath
1605 1543
      */
1606
-    public function setFileXpath(string $fileXpath)
1607
-    {
1544
+    public function setFileXpath(string $fileXpath) {
1608 1545
         $this->fileXpath = $fileXpath;
1609 1546
     }
1610 1547
 
@@ -1619,8 +1556,7 @@  discard block
 block discarded – undo
1619 1556
     /**
1620 1557
      * @param string $stateXpath
1621 1558
      */
1622
-    public function setStateXpath(string $stateXpath)
1623
-    {
1559
+    public function setStateXpath(string $stateXpath) {
1624 1560
         $this->stateXpath = $stateXpath;
1625 1561
     }
1626 1562
 
@@ -1635,8 +1571,7 @@  discard block
 block discarded – undo
1635 1571
     /**
1636 1572
      * @param string $typeXpath
1637 1573
      */
1638
-    public function setTypeXpath(string $typeXpath)
1639
-    {
1574
+    public function setTypeXpath(string $typeXpath) {
1640 1575
         $this->typeXpath = $typeXpath;
1641 1576
     }
1642 1577
 
@@ -1651,8 +1586,7 @@  discard block
 block discarded – undo
1651 1586
     /**
1652 1587
      * @param string $typeXpathInput
1653 1588
      */
1654
-    public function setTypeXpathInput(string $typeXpathInput)
1655
-    {
1589
+    public function setTypeXpathInput(string $typeXpathInput) {
1656 1590
         $this->typeXpathInput = $typeXpathInput;
1657 1591
     }
1658 1592
 
@@ -1667,8 +1601,7 @@  discard block
 block discarded – undo
1667 1601
     /**
1668 1602
      * @param string $dateXpath
1669 1603
      */
1670
-    public function setDateXpath(string $dateXpath)
1671
-    {
1604
+    public function setDateXpath(string $dateXpath) {
1672 1605
         $this->dateXpath = $dateXpath;
1673 1606
     }
1674 1607
 
@@ -1683,8 +1616,7 @@  discard block
 block discarded – undo
1683 1616
     /**
1684 1617
      * @param string $urnXpath
1685 1618
      */
1686
-    public function setUrnXpath(string $urnXpath)
1687
-    {
1619
+    public function setUrnXpath(string $urnXpath) {
1688 1620
         $this->urnXpath = $urnXpath;
1689 1621
     }
1690 1622
 
@@ -1699,8 +1631,7 @@  discard block
 block discarded – undo
1699 1631
     /**
1700 1632
      * @param string $namespaces
1701 1633
      */
1702
-    public function setNamespaces(string $namespaces)
1703
-    {
1634
+    public function setNamespaces(string $namespaces) {
1704 1635
         $this->namespaces = $namespaces;
1705 1636
     }
1706 1637
 
@@ -1715,8 +1646,7 @@  discard block
 block discarded – undo
1715 1646
     /**
1716 1647
      * @param string $titleXpath
1717 1648
      */
1718
-    public function setTitleXpath(string $titleXpath)
1719
-    {
1649
+    public function setTitleXpath(string $titleXpath) {
1720 1650
         $this->titleXpath = $titleXpath;
1721 1651
     }
1722 1652
 
@@ -1731,8 +1661,7 @@  discard block
 block discarded – undo
1731 1661
     /**
1732 1662
      * @param string $processNumberXpath
1733 1663
      */
1734
-    public function setProcessNumberXpath(string $processNumberXpath)
1735
-    {
1664
+    public function setProcessNumberXpath(string $processNumberXpath) {
1736 1665
         $this->processNumberXpath = $processNumberXpath;
1737 1666
     }
1738 1667
 
@@ -1747,8 +1676,7 @@  discard block
 block discarded – undo
1747 1676
     /**
1748 1677
      * @param string $submitterNameXpath
1749 1678
      */
1750
-    public function setSubmitterNameXpath(string $submitterNameXpath)
1751
-    {
1679
+    public function setSubmitterNameXpath(string $submitterNameXpath) {
1752 1680
         $this->submitterNameXpath = $submitterNameXpath;
1753 1681
     }
1754 1682
 
@@ -1763,8 +1691,7 @@  discard block
 block discarded – undo
1763 1691
     /**
1764 1692
      * @param string $submitterEmailXpath
1765 1693
      */
1766
-    public function setSubmitterEmailXpath(string $submitterEmailXpath)
1767
-    {
1694
+    public function setSubmitterEmailXpath(string $submitterEmailXpath) {
1768 1695
         $this->submitterEmailXpath = $submitterEmailXpath;
1769 1696
     }
1770 1697
 
@@ -1779,8 +1706,7 @@  discard block
 block discarded – undo
1779 1706
     /**
1780 1707
      * @param string $submitterNoticeXpath
1781 1708
      */
1782
-    public function setSubmitterNoticeXpath(string $submitterNoticeXpath)
1783
-    {
1709
+    public function setSubmitterNoticeXpath(string $submitterNoticeXpath) {
1784 1710
         $this->submitterNoticeXpath = $submitterNoticeXpath;
1785 1711
     }
1786 1712
 
@@ -1795,8 +1721,7 @@  discard block
 block discarded – undo
1795 1721
     /**
1796 1722
      * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $inputTransformation
1797 1723
      */
1798
-    public function setInputTransformation(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $inputTransformation)
1799
-    {
1724
+    public function setInputTransformation(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $inputTransformation) {
1800 1725
         $this->inputTransformation = $inputTransformation;
1801 1726
     }
1802 1727
 
@@ -1811,8 +1736,7 @@  discard block
 block discarded – undo
1811 1736
     /**
1812 1737
      * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $outputTransformation
1813 1738
      */
1814
-    public function setOutputTransformation(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $outputTransformation)
1815
-    {
1739
+    public function setOutputTransformation(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $outputTransformation) {
1816 1740
         $this->outputTransformation = $outputTransformation;
1817 1741
     }
1818 1742
 
@@ -1827,8 +1751,7 @@  discard block
 block discarded – undo
1827 1751
     /**
1828 1752
      * @param string $primaryUrnXpath
1829 1753
      */
1830
-    public function setPrimaryUrnXpath(string $primaryUrnXpath)
1831
-    {
1754
+    public function setPrimaryUrnXpath(string $primaryUrnXpath) {
1832 1755
         $this->primaryUrnXpath = $primaryUrnXpath;
1833 1756
     }
1834 1757
 
@@ -1843,8 +1766,7 @@  discard block
 block discarded – undo
1843 1766
     /**
1844 1767
      * @param string $publishingYearXpath
1845 1768
      */
1846
-    public function setPublishingYearXpath(string $publishingYearXpath)
1847
-    {
1769
+    public function setPublishingYearXpath(string $publishingYearXpath) {
1848 1770
         $this->publishingYearXpath = $publishingYearXpath;
1849 1771
     }
1850 1772
 
@@ -1859,8 +1781,7 @@  discard block
 block discarded – undo
1859 1781
     /**
1860 1782
      * @param string $originalSourceTitleXpath
1861 1783
      */
1862
-    public function setOriginalSourceTitleXpath(string $originalSourceTitleXpath)
1863
-    {
1784
+    public function setOriginalSourceTitleXpath(string $originalSourceTitleXpath) {
1864 1785
         $this->originalSourceTitleXpath = $originalSourceTitleXpath;
1865 1786
     }
1866 1787
 
@@ -1875,8 +1796,7 @@  discard block
 block discarded – undo
1875 1796
     /**
1876 1797
      * @param string $creatorXpath
1877 1798
      */
1878
-    public function setCreatorXpath(string $creatorXpath)
1879
-    {
1799
+    public function setCreatorXpath(string $creatorXpath) {
1880 1800
         $this->creatorXpath = $creatorXpath;
1881 1801
     }
1882 1802
 
@@ -1891,8 +1811,7 @@  discard block
 block discarded – undo
1891 1811
     /**
1892 1812
      * @param string $creationDateXpath
1893 1813
      */
1894
-    public function setCreationDateXpath(string $creationDateXpath)
1895
-    {
1814
+    public function setCreationDateXpath(string $creationDateXpath) {
1896 1815
         $this->creationDateXpath = $creationDateXpath;
1897 1816
     }
1898 1817
 
@@ -1907,8 +1826,7 @@  discard block
 block discarded – undo
1907 1826
     /**
1908 1827
      * @param string $repositoryCreationDateXpath
1909 1828
      */
1910
-    public function setRepositoryCreationDateXpath(string $repositoryCreationDateXpath)
1911
-    {
1829
+    public function setRepositoryCreationDateXpath(string $repositoryCreationDateXpath) {
1912 1830
         $this->repositoryCreationDateXpath = $repositoryCreationDateXpath;
1913 1831
     }
1914 1832
 
@@ -1923,8 +1841,7 @@  discard block
 block discarded – undo
1923 1841
     /**
1924 1842
      * @param string $repositoryLastModDateXpath
1925 1843
      */
1926
-    public function setRepositoryLastModDateXpath(string $repositoryLastModDateXpath)
1927
-    {
1844
+    public function setRepositoryLastModDateXpath(string $repositoryLastModDateXpath) {
1928 1845
         $this->repositoryLastModDateXpath = $repositoryLastModDateXpath;
1929 1846
     }
1930 1847
 
@@ -1939,8 +1856,7 @@  discard block
 block discarded – undo
1939 1856
     /**
1940 1857
      * @param string $depositLicenseXpath
1941 1858
      */
1942
-    public function setDepositLicenseXpath(string $depositLicenseXpath)
1943
-    {
1859
+    public function setDepositLicenseXpath(string $depositLicenseXpath) {
1944 1860
         $this->depositLicenseXpath = $depositLicenseXpath;
1945 1861
     }
1946 1862
 
@@ -1955,8 +1871,7 @@  discard block
 block discarded – undo
1955 1871
     /**
1956 1872
      * @param string $allNotesXpath
1957 1873
      */
1958
-    public function setAllNotesXpath(string $allNotesXpath)
1959
-    {
1874
+    public function setAllNotesXpath(string $allNotesXpath) {
1960 1875
         $this->allNotesXpath = $allNotesXpath;
1961 1876
     }
1962 1877
 
@@ -1971,8 +1886,7 @@  discard block
 block discarded – undo
1971 1886
     /**
1972 1887
      * @param string $privateNotesXpath
1973 1888
      */
1974
-    public function setPrivateNotesXpath(string $privateNotesXpath)
1975
-    {
1889
+    public function setPrivateNotesXpath(string $privateNotesXpath) {
1976 1890
         $this->privateNotesXpath = $privateNotesXpath;
1977 1891
     }
1978 1892
 
@@ -1987,8 +1901,7 @@  discard block
 block discarded – undo
1987 1901
     /**
1988 1902
      * @param string $personXpath
1989 1903
      */
1990
-    public function setPersonXpath(string $personXpath)
1991
-    {
1904
+    public function setPersonXpath(string $personXpath) {
1992 1905
         $this->personXpath = $personXpath;
1993 1906
     }
1994 1907
 
@@ -2003,8 +1916,7 @@  discard block
 block discarded – undo
2003 1916
     /**
2004 1917
      * @param string $personFamilyXpath
2005 1918
      */
2006
-    public function setPersonFamilyXpath(string $personFamilyXpath)
2007
-    {
1919
+    public function setPersonFamilyXpath(string $personFamilyXpath) {
2008 1920
         $this->personFamilyXpath = $personFamilyXpath;
2009 1921
     }
2010 1922
 
@@ -2019,8 +1931,7 @@  discard block
 block discarded – undo
2019 1931
     /**
2020 1932
      * @param string $personGivenXpath
2021 1933
      */
2022
-    public function setPersonGivenXpath(string $personGivenXpath)
2023
-    {
1934
+    public function setPersonGivenXpath(string $personGivenXpath) {
2024 1935
         $this->personGivenXpath = $personGivenXpath;
2025 1936
     }
2026 1937
 
@@ -2035,8 +1946,7 @@  discard block
 block discarded – undo
2035 1946
     /**
2036 1947
      * @param string $personRoleXpath
2037 1948
      */
2038
-    public function setPersonRoleXpath(string $personRoleXpath)
2039
-    {
1949
+    public function setPersonRoleXpath(string $personRoleXpath) {
2040 1950
         $this->personRoleXpath = $personRoleXpath;
2041 1951
     }
2042 1952
 
@@ -2051,8 +1961,7 @@  discard block
 block discarded – undo
2051 1961
     /**
2052 1962
      * @param string $personFisIdentifierXpath
2053 1963
      */
2054
-    public function setPersonFisIdentifierXpath(string $personFisIdentifierXpath)
2055
-    {
1964
+    public function setPersonFisIdentifierXpath(string $personFisIdentifierXpath) {
2056 1965
         $this->personFisIdentifierXpath = $personFisIdentifierXpath;
2057 1966
     }
2058 1967
 
@@ -2067,8 +1976,7 @@  discard block
 block discarded – undo
2067 1976
     /**
2068 1977
      * @param string $personAffiliationXpath
2069 1978
      */
2070
-    public function setPersonAffiliationXpath(string $personAffiliationXpath)
2071
-    {
1979
+    public function setPersonAffiliationXpath(string $personAffiliationXpath) {
2072 1980
         $this->personAffiliationXpath = $personAffiliationXpath;
2073 1981
     }
2074 1982
 
@@ -2083,8 +1991,7 @@  discard block
 block discarded – undo
2083 1991
     /**
2084 1992
      * @param string $personAffiliationIdentifierXpath
2085 1993
      */
2086
-    public function setPersonAffiliationIdentifierXpath(string $personAffiliationIdentifierXpath)
2087
-    {
1994
+    public function setPersonAffiliationIdentifierXpath(string $personAffiliationIdentifierXpath) {
2088 1995
         $this->personAffiliationIdentifierXpath = $personAffiliationIdentifierXpath;
2089 1996
     }
2090 1997
 
@@ -2099,8 +2006,7 @@  discard block
 block discarded – undo
2099 2006
     /**
2100 2007
      * @param string $personAuthorRole
2101 2008
      */
2102
-    public function setPersonAuthorRole(string $personAuthorRole)
2103
-    {
2009
+    public function setPersonAuthorRole(string $personAuthorRole) {
2104 2010
         $this->personAuthorRole = $personAuthorRole;
2105 2011
     }
2106 2012
 
@@ -2115,8 +2021,7 @@  discard block
 block discarded – undo
2115 2021
     /**
2116 2022
      * @param string $personPublisherRole
2117 2023
      */
2118
-    public function setPersonPublisherRole(string $personPublisherRole)
2119
-    {
2024
+    public function setPersonPublisherRole(string $personPublisherRole) {
2120 2025
         $this->personPublisherRole = $personPublisherRole;
2121 2026
     }
2122 2027
 
@@ -2131,8 +2036,7 @@  discard block
 block discarded – undo
2131 2036
     /**
2132 2037
      * @param string $validationXpath
2133 2038
      */
2134
-    public function setValidationXpath(string $validationXpath)
2135
-    {
2039
+    public function setValidationXpath(string $validationXpath) {
2136 2040
         $this->validationXpath = $validationXpath;
2137 2041
     }
2138 2042
 
@@ -2147,8 +2051,7 @@  discard block
 block discarded – undo
2147 2051
     /**
2148 2052
      * @param string $fisIdXpath
2149 2053
      */
2150
-    public function setFisIdXpath(string $fisIdXpath)
2151
-    {
2054
+    public function setFisIdXpath(string $fisIdXpath) {
2152 2055
         $this->fisIdXpath = $fisIdXpath;
2153 2056
     }
2154 2057
 
@@ -2163,8 +2066,7 @@  discard block
 block discarded – undo
2163 2066
     /**
2164 2067
      * @param string $sourceDetailsXpaths
2165 2068
      */
2166
-    public function setSourceDetailsXpaths(string $sourceDetailsXpaths)
2167
-    {
2069
+    public function setSourceDetailsXpaths(string $sourceDetailsXpaths) {
2168 2070
         $this->sourceDetailsXpaths = $sourceDetailsXpaths;
2169 2071
     }
2170 2072
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      * Workaround to ensure unique URNs until URNs will be genarated by fedora.
85 85
      * @var boolean
86 86
      */
87
-    protected $replaceNissPart = false;
87
+    protected $replaceNissPart = FALSE;
88 88
 
89 89
     /**
90 90
      * swordHost
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     /**
257 257
      * @var bool
258 258
      */
259
-    protected $sendAdminDepositLicenseNotification = false;
259
+    protected $sendAdminDepositLicenseNotification = FALSE;
260 260
 
261 261
     /**
262 262
      * @var string
@@ -527,55 +527,55 @@  discard block
 block discarded – undo
527 527
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
528 528
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
529 529
      */
530
-    protected $crossrefTransformation = null;
530
+    protected $crossrefTransformation = NULL;
531 531
 
532 532
     /**
533 533
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
534 534
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
535 535
      */
536
-    protected $dataciteTransformation = null;
536
+    protected $dataciteTransformation = NULL;
537 537
 
538 538
     /**
539 539
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
540 540
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
541 541
      */
542
-    protected $k10plusTransformation = null;
542
+    protected $k10plusTransformation = NULL;
543 543
 
544 544
     /**
545 545
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
546 546
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
547 547
      */
548
-    protected $pubmedTransformation = null;
548
+    protected $pubmedTransformation = NULL;
549 549
 
550 550
     /**
551 551
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
552 552
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
553 553
      */
554
-    protected $bibtexTransformation = null;
554
+    protected $bibtexTransformation = NULL;
555 555
 
556 556
     /**
557 557
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
558 558
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
559 559
      */
560
-    protected $riswosTransformation = null;
560
+    protected $riswosTransformation = NULL;
561 561
 
562 562
     /**
563 563
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
564 564
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
565 565
      */
566
-    protected $inputTransformation = null;
566
+    protected $inputTransformation = NULL;
567 567
 
568 568
     /**
569 569
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
570 570
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
571 571
      */
572
-    protected $outputTransformation = null;
572
+    protected $outputTransformation = NULL;
573 573
 
574 574
     /**
575 575
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
576 576
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
577 577
      */
578
-    protected $elasticSearchTransformation = null;
578
+    protected $elasticSearchTransformation = NULL;
579 579
 
580 580
     /**
581 581
      * @var string
Please login to merge, or discard this patch.
Classes/Domain/Model/RisWosMetadata.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,12 +50,12 @@
 block discarded – undo
50 50
 
51 51
             $name = ['family' => '', 'given' => ''];
52 52
 
53
-            $family =  $xpath->query('family', $person);
53
+            $family = $xpath->query('family', $person);
54 54
             if ($family->length > 0) {
55 55
                 $name['family'] = $family->item(0)->nodeValue;
56 56
             }
57 57
 
58
-            $given =  $xpath->query('given', $person);
58
+            $given = $xpath->query('given', $person);
59 59
             if ($given->length > 0) {
60 60
                 $name['given'] = $given->item(0)->nodeValue;
61 61
             }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
 /**
18 18
  * RisWosMetadata
19 19
  */
20
-class RisWosMetadata extends ExternalMetadata
21
-{
20
+class RisWosMetadata extends ExternalMetadata {
22 21
 
23 22
     /**
24 23
      * @return string
Please login to merge, or discard this patch.
Classes/Domain/Model/DocumentType.php 2 patches
Braces   +16 added lines, -32 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@  discard block
 block discarded – undo
17 17
 /**
18 18
  * DocumentType
19 19
  */
20
-class DocumentType extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
21
-{
20
+class DocumentType extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
22 21
 
23 22
     /**
24 23
      * name
@@ -111,8 +110,7 @@  discard block
 block discarded – undo
111 110
     /**
112 111
      * __construct
113 112
      */
114
-    public function __construct()
115
-    {
113
+    public function __construct() {
116 114
         //Do not remove the next line: It would break the functionality
117 115
         $this->initStorageObjects();
118 116
     }
@@ -122,8 +120,7 @@  discard block
 block discarded – undo
122 120
      *
123 121
      * @return void
124 122
      */
125
-    protected function initStorageObjects()
126
-    {
123
+    protected function initStorageObjects() {
127 124
         $this->metadataPage = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
128 125
         $this->transformationFileInput = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
129 126
         $this->transformationFileOutput = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
@@ -134,8 +131,7 @@  discard block
 block discarded – undo
134 131
      *
135 132
      * @return string $name
136 133
      */
137
-    public function getName()
138
-    {
134
+    public function getName() {
139 135
         return $this->name;
140 136
     }
141 137
 
@@ -145,8 +141,7 @@  discard block
 block discarded – undo
145 141
      * @param string $name
146 142
      * @return void
147 143
      */
148
-    public function setName($name)
149
-    {
144
+    public function setName($name) {
150 145
         $this->name = $name;
151 146
     }
152 147
 
@@ -155,8 +150,7 @@  discard block
 block discarded – undo
155 150
      *
156 151
      * @return string $displayName
157 152
      */
158
-    public function getDisplayName()
159
-    {
153
+    public function getDisplayName() {
160 154
         return $this->displayName;
161 155
     }
162 156
 
@@ -166,8 +160,7 @@  discard block
 block discarded – undo
166 160
      * @param string $displayName
167 161
      * @return void
168 162
      */
169
-    public function setDisplayName($displayName)
170
-    {
163
+    public function setDisplayName($displayName) {
171 164
         $this->displayName = $displayName;
172 165
     }
173 166
 
@@ -177,8 +170,7 @@  discard block
 block discarded – undo
177 170
      * @param \EWW\Dpf\Domain\Model\MetadataPage $metadataPage
178 171
      * @return void
179 172
      */
180
-    public function addMetadataPage(\EWW\Dpf\Domain\Model\MetadataPage $metadataPage)
181
-    {
173
+    public function addMetadataPage(\EWW\Dpf\Domain\Model\MetadataPage $metadataPage) {
182 174
         $this->metadataPage->attach($metadataPage);
183 175
     }
184 176
 
@@ -188,8 +180,7 @@  discard block
 block discarded – undo
188 180
      * @param \EWW\Dpf\Domain\Model\MetadataPage $metadataPageToRemove The MetadataPage to be removed
189 181
      * @return void
190 182
      */
191
-    public function removeMetadataPage(\EWW\Dpf\Domain\Model\MetadataPage $metadataPageToRemove)
192
-    {
183
+    public function removeMetadataPage(\EWW\Dpf\Domain\Model\MetadataPage $metadataPageToRemove) {
193 184
         $this->metadataPage->detach($metadataPageToRemove);
194 185
     }
195 186
 
@@ -198,8 +189,7 @@  discard block
 block discarded – undo
198 189
      *
199 190
      * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\MetadataPage> $metadataPage
200 191
      */
201
-    public function getMetadataPage()
202
-    {
192
+    public function getMetadataPage() {
203 193
         return $this->metadataPage;
204 194
     }
205 195
 
@@ -209,8 +199,7 @@  discard block
 block discarded – undo
209 199
      * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\MetadataPage> $metadataPage
210 200
      * @return void
211 201
      */
212
-    public function setMetadataPage(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $metadataPage)
213
-    {
202
+    public function setMetadataPage(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $metadataPage) {
214 203
         $this->metadataPage = $metadataPage;
215 204
     }
216 205
 
@@ -219,8 +208,7 @@  discard block
 block discarded – undo
219 208
      *
220 209
      * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\MetadataPage> $metadataPage
221 210
      */
222
-    public function getChildren()
223
-    {
211
+    public function getChildren() {
224 212
         return $this->getMetadataPage();
225 213
     }
226 214
 
@@ -229,8 +217,7 @@  discard block
 block discarded – undo
229 217
      *
230 218
      * @return boolean
231 219
      */
232
-    public function getVirtualType()
233
-    {
220
+    public function getVirtualType() {
234 221
         return $this->virtualType;
235 222
     }
236 223
 
@@ -240,8 +227,7 @@  discard block
 block discarded – undo
240 227
      * @param boolean $virtualType
241 228
      * @return void
242 229
      */
243
-    public function setVirtualType($virtualType)
244
-    {
230
+    public function setVirtualType($virtualType) {
245 231
         $this->virtualType = boolval($virtualType);
246 232
     }
247 233
 
@@ -256,8 +242,7 @@  discard block
 block discarded – undo
256 242
     /**
257 243
      * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $transformationFileOutput
258 244
      */
259
-    public function setTransformationFileOutput(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $transformationFileOutput)
260
-    {
245
+    public function setTransformationFileOutput(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $transformationFileOutput) {
261 246
         $this->transformationFileOutput = $transformationFileOutput;
262 247
     }
263 248
 
@@ -272,8 +257,7 @@  discard block
 block discarded – undo
272 257
     /**
273 258
      * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $transformationFileInput
274 259
      */
275
-    public function setTransformationFileInput(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $transformationFileInput)
276
-    {
260
+    public function setTransformationFileInput(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $transformationFileInput) {
277 261
         $this->transformationFileInput = $transformationFileInput;
278 262
     }
279 263
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      *
40 40
      * @var boolean
41 41
      */
42
-    protected $virtualType = false;
42
+    protected $virtualType = FALSE;
43 43
 
44 44
     /**
45 45
      * metadataPage
@@ -47,25 +47,25 @@  discard block
 block discarded – undo
47 47
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\MetadataPage>
48 48
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
49 49
      */
50
-    protected $metadataPage = null;
50
+    protected $metadataPage = NULL;
51 51
 
52 52
     /**
53 53
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
54 54
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
55 55
      */
56
-    protected $transformationFileOutput = null;
56
+    protected $transformationFileOutput = NULL;
57 57
 
58 58
     /**
59 59
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
60 60
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
61 61
      */
62
-    protected $transformationFileInput = null;
62
+    protected $transformationFileInput = NULL;
63 63
 
64 64
     /**
65 65
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
66 66
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
67 67
      */
68
-    protected $crossrefTransformation = null;
68
+    protected $crossrefTransformation = NULL;
69 69
 
70 70
     /**
71 71
      * @var string
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
78 78
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
79 79
      */
80
-    protected $dataciteTransformation = null;
80
+    protected $dataciteTransformation = NULL;
81 81
 
82 82
     /**
83 83
      * @var string
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
89 89
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
90 90
      */
91
-    protected $k10plusTransformation = null;
91
+    protected $k10plusTransformation = NULL;
92 92
 
93 93
     /**
94 94
      * @var string
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\TransformationFile>
101 101
      * @TYPO3\CMS\Extbase\Annotation\ORM\Cascade("remove")
102 102
      */
103
-    protected $pubmedTransformation = null;
103
+    protected $pubmedTransformation = NULL;
104 104
 
105 105
     /**
106 106
      * @var string
Please login to merge, or discard this patch.
Classes/Domain/Model/K10plusMetadata.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
         $node = $this->getDataXpath()->query('/mods:mods/mods:titleInfo[1]/mods:subTitle[1]');
33 33
 
34 34
         if ($node->length == 1) {
35
-            $title .= " - ".$node->item(0)->nodeValue;
35
+            $title .= " - " . $node->item(0)->nodeValue;
36 36
         }
37 37
 
38 38
         return $title;
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
             $name = ['family' => '', 'given' => ''];
52 52
 
53
-            $namePartNodes =  $xpath->query('mods:namePart', $person);
53
+            $namePartNodes = $xpath->query('mods:namePart', $person);
54 54
 
55 55
             if ($namePartNodes->length > 0) {
56 56
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
 /**
18 18
  * K10plusMetadata
19 19
  */
20
-class K10plusMetadata extends ExternalMetadata
21
-{
20
+class K10plusMetadata extends ExternalMetadata {
22 21
     public function getTitle(): string
23 22
     {
24 23
         $node = $this->getDataXpath()->query('/mods:mods/mods:titleInfo[1]/mods:title[1]');
Please login to merge, or discard this patch.
Classes/Domain/Model/DepositLicense.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
 /**
18 18
  * Document
19 19
  */
20
-class DepositLicense extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
21
-{
20
+class DepositLicense extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
22 21
     /**
23 22
      * @var string
24 23
      */
Please login to merge, or discard this patch.
Classes/Domain/Model/BibTexMetadata.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,12 +50,12 @@
 block discarded – undo
50 50
 
51 51
             $name = ['family' => '', 'given' => ''];
52 52
 
53
-            $family =  $xpath->query('family', $person);
53
+            $family = $xpath->query('family', $person);
54 54
             if ($family->length > 0) {
55 55
                 $name['family'] = $family->item(0)->nodeValue;
56 56
             }
57 57
 
58
-            $given =  $xpath->query('given', $person);
58
+            $given = $xpath->query('given', $person);
59 59
             if ($given->length > 0) {
60 60
                 $name['given'] = $given->item(0)->nodeValue;
61 61
             }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
 /**
18 18
  * BibTexMetadata
19 19
  */
20
-class BibTexMetadata extends ExternalMetadata
21
-{
20
+class BibTexMetadata extends ExternalMetadata {
22 21
 
23 22
     /**
24 23
      * @return string
Please login to merge, or discard this patch.
Classes/Domain/Model/PubMedMetadata.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
             $name = ['family' => '', 'given' => ''];
52 52
 
53
-            $namePartNodes =  $xpath->query('Name', $person);
53
+            $namePartNodes = $xpath->query('Name', $person);
54 54
 
55 55
             if ($namePartNodes->length > 0) {
56 56
                 $name['family'] = $namePartNodes->item(0)->nodeValue;
Please login to merge, or discard this patch.
Braces   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,20 +19,23 @@
 block discarded – undo
19 19
 /**
20 20
  * PubMedMetadata
21 21
  */
22
-class PubMedMetadata extends ExternalMetadata
23
-{
22
+class PubMedMetadata extends ExternalMetadata {
24 23
     public function getTitle(): string
25 24
     {
26 25
         $node = $this->getDataXpath()->query('/eSummaryResult/DocumentSummarySet/DocumentSummary/Title');
27 26
 
28 27
         if ($node->length == 1) {
29
-            if ($node->item(0)->nodeValue) return $node->item(0)->nodeValue;
28
+            if ($node->item(0)->nodeValue) {
29
+                return $node->item(0)->nodeValue;
30
+            }
30 31
         }
31 32
 
32 33
         $node = $this->getDataXpath()->query('/eSummaryResult/DocumentSummarySet/DocumentSummary/BookTitle');
33 34
 
34 35
         if ($node->length == 1) {
35
-            if ($node->item(0)->nodeValue) return $node->item(0)->nodeValue;
36
+            if ($node->item(0)->nodeValue) {
37
+                return $node->item(0)->nodeValue;
38
+            }
36 39
         }
37 40
 
38 41
         return '';
Please login to merge, or discard this patch.
Classes/Domain/Model/ExternalMetadata.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
     {
137 137
         $dom = new \DOMDocument();
138 138
         if (is_null(@$dom->loadXML($this->data))) {
139
-            throw new \Exception("Invalid XML: ".get_class($this));
139
+            throw new \Exception("Invalid XML: " . get_class($this));
140 140
         }
141 141
         return \EWW\Dpf\Helper\XPath::create($dom);
142 142
     }
Please login to merge, or discard this patch.
Braces   +6 added lines, -12 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@  discard block
 block discarded – undo
17 17
 /**
18 18
  * ExternalMetadata
19 19
  */
20
-abstract class ExternalMetadata extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
21
-{
20
+abstract class ExternalMetadata extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
22 21
     /**
23 22
      * feUser
24 23
      *
@@ -74,8 +73,7 @@  discard block
 block discarded – undo
74 73
     /**
75 74
      * @param int $feUser
76 75
      */
77
-    public function setFeUser(int $feUser)
78
-    {
76
+    public function setFeUser(int $feUser) {
79 77
         $this->feUser = $feUser;
80 78
     }
81 79
 
@@ -90,8 +88,7 @@  discard block
 block discarded – undo
90 88
     /**
91 89
      * @param string $source
92 90
      */
93
-    public function setSource(string $source)
94
-    {
91
+    public function setSource(string $source) {
95 92
         $this->source = $source;
96 93
     }
97 94
 
@@ -107,8 +104,7 @@  discard block
 block discarded – undo
107 104
     /**
108 105
      * @param string $data
109 106
      */
110
-    public function setData(string $data)
111
-    {
107
+    public function setData(string $data) {
112 108
         $this->data = $data;
113 109
     }
114 110
 
@@ -123,8 +119,7 @@  discard block
 block discarded – undo
123 119
     /**
124 120
      * @param string $publicationIdentifier
125 121
      */
126
-    public function setPublicationIdentifier(string $publicationIdentifier)
127
-    {
122
+    public function setPublicationIdentifier(string $publicationIdentifier) {
128 123
         $this->publicationIdentifier = trim($publicationIdentifier);
129 124
     }
130 125
 
@@ -132,8 +127,7 @@  discard block
 block discarded – undo
132 127
      * @return \DOMXPath
133 128
      * @throws \Exception
134 129
      */
135
-    public function getDataXpath()
136
-    {
130
+    public function getDataXpath() {
137 131
         $dom = new \DOMDocument();
138 132
         if (is_null(@$dom->loadXML($this->data))) {
139 133
             throw new \Exception("Invalid XML: ".get_class($this));
Please login to merge, or discard this patch.