Passed
Push — master ( 8d1e35...49acfe )
by Ralf
08:18
created
Classes/Domain/Repository/MetadataObjectRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,5 +20,5 @@
 block discarded – undo
20 20
 class MetadataObjectRepository extends \EWW\Dpf\Domain\Repository\AbstractRepository
21 21
 {
22 22
 
23
-    protected $defaultOrderings = array("sorting" => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_ASCENDING);
23
+    protected $defaultOrderings = array ("sorting" => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_ASCENDING);
24 24
 }
Please login to merge, or discard this patch.
Classes/Domain/Model/AbstractFormElement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      *
53 53
      * @var array
54 54
      */
55
-    protected $accessRestrictionRoles = array();
55
+    protected $accessRestrictionRoles = array ();
56 56
 
57 57
     /**
58 58
      *
Please login to merge, or discard this patch.
Classes/Domain/Model/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -351,7 +351,7 @@
 block discarded – undo
351 351
 
352 352
         foreach ($availableProperties as $propertyName) {
353 353
             if (\TYPO3\CMS\Extbase\Reflection\ObjectAccess::isPropertySettable($newFile, $propertyName)
354
-                && !in_array($propertyName, array('uid','pid'))) {
354
+                && !in_array($propertyName, array ('uid', 'pid'))) {
355 355
 
356 356
                 $propertyValue = \TYPO3\CMS\Extbase\Reflection\ObjectAccess::getProperty($fileToCopy, $propertyName);
357 357
                 \TYPO3\CMS\Extbase\Reflection\ObjectAccess::setProperty($newFile, $propertyName, $propertyValue);
Please login to merge, or discard this patch.
Classes/Domain/Model/MetadataObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@
 block discarded – undo
377 377
         if ($this->accessRestrictionRoles) {
378 378
             return array_map('trim', explode(',', $this->accessRestrictionRoles));
379 379
         } else {
380
-            return array();
380
+            return array ();
381 381
         }
382 382
     }
383 383
 
Please login to merge, or discard this patch.
Classes/Controller/DocumentFormController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
     protected function redirectToList($message = null)
24 24
     {
25
-        $this->redirect('list', 'DocumentForm', null, array('message' => $message));
25
+        $this->redirect('list', 'DocumentForm', null, array ('message' => $message));
26 26
     }
27 27
 
28 28
     /**
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
             $notifier = $this->objectManager->get(Notifier::class);
68 68
             $notifier->sendNewDocumentNotification($newDocument);
69 69
 
70
-            if (key_exists('afterDocSavedRedirectPage',$this->settings) && $this->settings['afterDocSavedRedirectPage']) {
70
+            if (key_exists('afterDocSavedRedirectPage', $this->settings) && $this->settings['afterDocSavedRedirectPage']) {
71 71
                 $uri = $this->uriBuilder
72 72
                     ->setTargetPageUid($this->settings['afterDocSavedRedirectPage'])
73 73
                     ->build();
@@ -87,8 +87,8 @@  discard block
 block discarded – undo
87 87
 
88 88
             $message[] = \TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate($key, 'dpf');
89 89
 
90
-            $this->addFlashMessage(implode(" ", $message), '', $severity,true);
91
-            $this->forward('new', 'DocumentForm', null, array('newDocumentForm' => $newDocumentForm));
90
+            $this->addFlashMessage(implode(" ", $message), '', $severity, true);
91
+            $this->forward('new', 'DocumentForm', null, array ('newDocumentForm' => $newDocumentForm));
92 92
         }
93 93
     }
94 94
 }
Please login to merge, or discard this patch.
Classes/Security/Voter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      *
33 33
      * @var array
34 34
      */
35
-    protected $attributes = array();
35
+    protected $attributes = array ();
36 36
 
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
Classes/Security/AuthorizationChecker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 
59 59
     public function denyAccessUnlessGranted($attribute, $subject = NULL)
60 60
     {
61
-        if($this->isGranted($attribute, $subject)) {
61
+        if ($this->isGranted($attribute, $subject)) {
62 62
             return;
63 63
         } else {
64 64
             header('Temporary-Header: True', true, 403);
Please login to merge, or discard this patch.
Classes/Domain/Model/MetadataGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@
 block discarded – undo
377 377
         if ($this->accessRestrictionRoles) {
378 378
             return array_map('trim', explode(',', $this->accessRestrictionRoles));
379 379
         } else {
380
-            return array();
380
+            return array ();
381 381
         }
382 382
     }
383 383
 
Please login to merge, or discard this patch.
Classes/Domain/Model/MetadataPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@
 block discarded – undo
377 377
         if ($this->accessRestrictionRoles) {
378 378
             return array_map('trim', explode(',', $this->accessRestrictionRoles));
379 379
         } else {
380
-            return array();
380
+            return array ();
381 381
         }
382 382
     }
383 383
 
Please login to merge, or discard this patch.