Completed
Pull Request — develop (#329)
by Carsten
07:08
created
module/Core/src/Core/Entity/SnapshotMeta.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@
 block discarded – undo
31 31
     protected $id;
32 32
 
33 33
     /**
34
-    * @var EntityInterface
35
-    * @ODM\EmbedOne
36
-    * @ODM\Index
34
+     * @var EntityInterface
35
+     * @ODM\EmbedOne
36
+     * @ODM\Index
37 37
      */
38 38
     protected $entity;
39 39
 
Please login to merge, or discard this patch.
module/Core/src/Core/Form/FileUploadFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
     {
85 85
         /* @var $serviceLocator \Zend\Form\FormElementManager */
86 86
         $service = $serviceLocator->getServiceLocator();
87
-        $options=null;
87
+        $options = null;
88 88
         if ($this->options) {
89 89
             $options = $service->get($this->options);
90 90
         }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/RatingFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         $properties = $refl->getProperties();
50 50
         
51 51
         foreach ($properties as $property) {
52
-            $name  = $property->getName();
52
+            $name = $property->getName();
53 53
             if ('_' == $name{0}) {
54 54
                 continue;
55 55
             }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         if (!$elementId) {
70 70
             $elementId = preg_replace(
71 71
                 array('~[^A-Za-z0-9_-]~', '~--+~', '~^-|-$~'),
72
-                array('-'              , '-'    , ''       ),
72
+                array('-', '-', ''),
73 73
                 $element->getName()
74 74
             );
75 75
             $element->setAttribute('id', $elementId);
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
                 if (!$elementOrFieldsetId) {
100 100
                     $elementOrFieldsetId = preg_replace(
101 101
                         array('~[^A-Za-z0-9_-]~', '~--+~', '~^-|-$~'),
102
-                        array('-'              , '-'    , ''       ),
102
+                        array('-', '-', ''),
103 103
                         $elementOrFieldset->getName()
104 104
                     );
105 105
                     $elementOrFieldset->setAttribute('id', $elementOrFieldsetId);
Please login to merge, or discard this patch.
module/Core/src/Core/Listener/EnforceJsonResponseListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
             
95 95
             $view = $e->getApplication()->getServiceManager()->get('ViewManager')->getView();
96 96
             $view->addRenderingStrategy(array($strategy, 'selectRenderer'), 10);
97
-            $view->addResponseStrategy(array($strategy,  'injectResponse'), 10);
97
+            $view->addResponseStrategy(array($strategy, 'injectResponse'), 10);
98 98
             
99 99
         }        
100 100
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Listener/NotificationListener.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,12 +42,12 @@
 block discarded – undo
42 42
 
43 43
     public function attachShared(SharedEventManagerInterface $events)
44 44
     {
45
-        $events->attach('*', NotificationEvent::EVENT_NOTIFICATION_ADD, array($this,'add'), 1);
46
-        $events->attach('Zend\Mvc\Application', MvcEvent::EVENT_DISPATCH, array($this,'renderJSON'), -240);
47
-        $events->attach('Zend\Mvc\Application', MvcEvent::EVENT_DISPATCH, array($this,'renderHTML'), -250);
45
+        $events->attach('*', NotificationEvent::EVENT_NOTIFICATION_ADD, array($this, 'add'), 1);
46
+        $events->attach('Zend\Mvc\Application', MvcEvent::EVENT_DISPATCH, array($this, 'renderJSON'), -240);
47
+        $events->attach('Zend\Mvc\Application', MvcEvent::EVENT_DISPATCH, array($this, 'renderHTML'), -250);
48 48
         // Sometimes the Dispatch-Event is not reached, for instance with a route-direct
49 49
         // but also for Events, that are happening after the Dispatch
50
-        $events->attach('Zend\Mvc\Application', MvcEvent::EVENT_FINISH, array($this,'renderHTML'), -250);
50
+        $events->attach('Zend\Mvc\Application', MvcEvent::EVENT_FINISH, array($this, 'renderHTML'), -250);
51 51
         return $this;
52 52
     }
53 53
 
Please login to merge, or discard this patch.
module/Core/src/Core/Listener/StringListener.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
 class StringListener implements ListenerAggregateInterface
10 10
 {
11
-      protected $listeners = array();
11
+        protected $listeners = array();
12 12
 
13 13
     /**
14 14
      * Attach to an event manager
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
         if (!empty($capture)) {
52 52
             if ($viewModel->isAppend()) {
53 53
                 $oldResult = $viewModel->{$capture};
54
-                $viewModel->setVariable($capture, $oldResult . $result);
54
+                $viewModel->setVariable($capture, $oldResult.$result);
55 55
             } else {
56 56
                 $viewModel->setVariable($capture, $result);
57 57
             }
Please login to merge, or discard this patch.
Core/Repository/DoctrineMongoODM/Event/GenerateSearchKeywordsListener.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
         
60 60
         
61
-        $dm         = $eventArgs->getDocumentManager();
61
+        $dm = $eventArgs->getDocumentManager();
62 62
         $uow       = $dm->getUnitOfWork();
63 63
         $changeset = $uow->getDocumentChangeset($document);
64 64
         $filter    = $this->getKeywordsFilter();
Please login to merge, or discard this patch.
src/Core/Repository/DoctrineMongoODM/Event/PreUpdateDocumentsSubscriber.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@
 block discarded – undo
42 42
         $document->preUpdate($prePersist);
43 43
         
44 44
         if (!$prePersist) {
45
-            $dm         = $eventArgs->getDocumentManager();
46
-            $uow       = $dm->getUnitOfWork();
45
+            $dm = $eventArgs->getDocumentManager();
46
+            $uow = $dm->getUnitOfWork();
47 47
             $uow->recomputeSingleDocumentChangeSet($dm->getClassMetadata(get_class($document)), $document);
48 48
         }
49 49
 
Please login to merge, or discard this patch.