Passed
Pull Request — master (#209)
by
unknown
33:50 queued 24:56
created
Classes/Controller/ExternalMetadataImportController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -574,8 +574,8 @@
 block discarded – undo
574 574
                 'manager.importMetadata.publicationNotImported', 'dpf'
575 575
             );
576 576
 
577
-           $this->addFlashMessage($message, '', AbstractMessage::ERROR);
578
-           $this->redirect('find');
577
+            $this->addFlashMessage($message, '', AbstractMessage::ERROR);
578
+            $this->redirect('find');
579 579
         }
580 580
     }
581 581
 
Please login to merge, or discard this patch.
Classes/Services/Document/DocumentManager.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -657,7 +657,7 @@  discard block
 block discarded – undo
657 657
                                 $document->getState() === DocumentWorkflow::STATE_NONE_ACTIVE &&
658 658
                                 $fulltextPublished &&
659 659
                                 (
660
-                                   empty($embargoDate) ||
660
+                                    empty($embargoDate) ||
661 661
                                    $embargoDate < $currentDate
662 662
                                 )
663 663
                             ) {
@@ -666,7 +666,7 @@  discard block
 block discarded – undo
666 666
                         }
667 667
 
668 668
                     } else {
669
-                       $recipients[$recipient->getUid()] = $recipient;
669
+                        $recipients[$recipient->getUid()] = $recipient;
670 670
                     }
671 671
                 }
672 672
             }
Please login to merge, or discard this patch.
Classes/Services/ImportExternalMetadata/FileImporter.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      * @param DocumentType $documentType
33 33
      * @return array|null $metadataXml
34 34
      *
35
-    */
35
+     */
36 36
     public function transformToInternalXml($xml, $documentType);
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
Classes/Services/ImportExternalMetadata/CrossRefImporter.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
         if ($offset > 0) $requestUri .= '&offset=' . $offset;
127 127
 
128 128
         if ($searchField) {
129
-           $requestUri .= '&query.'.$searchField.'='.urlencode($query);
129
+            $requestUri .= '&query.'.$searchField.'='.urlencode($query);
130 130
         } else {
131 131
             switch (PublicationIdentifier::determineIdentifierType(trim($query))) {
132 132
                 case 'DOI':
Please login to merge, or discard this patch.
Classes/Services/ImportExternalMetadata/Importer.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      * @param DocumentType $documentType
56 56
      * @return array|null $metadataXml
57 57
      *
58
-    */
58
+     */
59 59
     public function transformToInternalXml($xml, $documentType);
60 60
 
61 61
 
Please login to merge, or discard this patch.
Classes/Services/ParserGenerator.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
                                 $namespace = explode("=", $value);
108 108
                                 $this->namespaceString .= ' xmlns:' . $namespace[0] . '="' . $namespace[1] . '"';
109 109
                             }
110
-         }
110
+            }
111 111
 
112 112
         $this->xmlHeader = '<data' . $this->namespaceString . '></data>';
113 113
 
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
 
387 387
                 $domXPath2 = \EWW\Dpf\Helper\XPath::create($doc2);
388 388
 
389
-                  // second part nested xpath
389
+                    // second part nested xpath
390 390
                 if ($match[2] && $secondMatch[2]) {
391 391
                     // import node from nested
392 392
                     $docXMLNested = new \DOMDocument();
Please login to merge, or discard this patch.
Classes/ViewHelpers/GetStatusColorViewHelper.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -38,31 +38,31 @@
 block discarded – undo
38 38
 
39 39
         switch ($aliasState) {
40 40
 
41
-           case DocumentWorkflow::ALIAS_STATE_NEW:
41
+            case DocumentWorkflow::ALIAS_STATE_NEW:
42 42
                return 'secondary';
43
-               break;
44
-           case DocumentWorkflow::ALIAS_STATE_REGISTERED:
43
+                break;
44
+            case DocumentWorkflow::ALIAS_STATE_REGISTERED:
45 45
                return 'secondary';
46
-               break;
46
+                break;
47 47
 
48
-           case DocumentWorkflow::ALIAS_STATE_IN_PROGRESS:
48
+            case DocumentWorkflow::ALIAS_STATE_IN_PROGRESS:
49 49
                return 'primary';
50
-               break;
50
+                break;
51 51
 
52
-           case DocumentWorkflow::ALIAS_STATE_RELEASED:
52
+            case DocumentWorkflow::ALIAS_STATE_RELEASED:
53 53
                return 'success';
54
-               break;
54
+                break;
55 55
 
56
-           case DocumentWorkflow::ALIAS_STATE_DISCARDED:
56
+            case DocumentWorkflow::ALIAS_STATE_DISCARDED:
57 57
                return 'warning';
58
-               break;
58
+                break;
59 59
 
60
-           case DocumentWorkflow::ALIAS_STATE_POSTPONED:
60
+            case DocumentWorkflow::ALIAS_STATE_POSTPONED:
61 61
                return 'info';
62
-               break;
63
-           default:
62
+                break;
63
+            default:
64 64
                return 'light';
65
-               break;
65
+                break;
66 66
         }
67 67
     }
68 68
 }
Please login to merge, or discard this patch.
Classes/Services/Transfer/FedoraRepository.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,11 +34,11 @@
 block discarded – undo
34 34
     protected $documentTransferLogRepository;
35 35
 
36 36
     /**
37
-    * clientConfigurationManager
38
-    *
39
-    * @var \EWW\Dpf\Configuration\ClientConfigurationManager
40
-    * @TYPO3\CMS\Extbase\Annotation\Inject
41
-    */
37
+     * clientConfigurationManager
38
+     *
39
+     * @var \EWW\Dpf\Configuration\ClientConfigurationManager
40
+     * @TYPO3\CMS\Extbase\Annotation\Inject
41
+     */
42 42
     protected $clientConfigurationManager;
43 43
 
44 44
     /**
Please login to merge, or discard this patch.
Configuration/TCA/Overrides/tt_content.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 
91 91
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
92 92
     array('LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:tt_content.dpf_coins',
93
-          'dpf_coins'),
94
-          'list_type',
95
-          'dpf');
93
+            'dpf_coins'),
94
+            'list_type',
95
+            'dpf');
96 96
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('dpf_coins', 'FILE:EXT:dpf/Classes/Plugins/Coins/flexform.xml');
Please login to merge, or discard this patch.