Completed
Push — develop ( 037ef6...a650ad )
by Carsten
06:58
created
module/Core/src/Core/Controller/Plugin/Notification.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     const NAMESPACE_INFO = 'info';
22 22
     const NAMESPACE_WARNING = 'warning';
23 23
     const NAMESPACE_DANGER  = 'danger';
24
-    const NAMESPACE_SUCCESS  = 'success';
24
+    const NAMESPACE_SUCCESS = 'success';
25 25
 
26 26
     protected $namespace2priority = array(
27 27
         self::NAMESPACE_INFO => NotificationEntity::INFO,
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function setListener($listener)
61 61
     {
62
-        $listener->getSharedManager()->attach('*', NotificationEvent::EVENT_NOTIFICATION_HTML, array($this,'createOutput'), 1);
62
+        $listener->getSharedManager()->attach('*', NotificationEvent::EVENT_NOTIFICATION_HTML, array($this, 'createOutput'), 1);
63 63
         $this->notificationListener = $listener;
64 64
     }
65 65
     
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/PaginationParams.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
     public function getList($namespace, $callback)
136 136
     {
137 137
         $session = new Container($namespace);
138
-        $params  = $session->params?:array();
138
+        $params  = $session->params ?: array();
139 139
         if (!$session->list) {
140 140
             $session->list = is_array($callback)
141 141
             ? call_user_func($callback, $session->params)
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/Hydrator/JsonEntityHydrator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @param object $object
47 47
      * @return object
48 48
      */
49
-    public function hydrate (array $data, $object)
49
+    public function hydrate(array $data, $object)
50 50
     {
51 51
 
52 52
         return $object;
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * @return array|string
58 58
      * @throws \InvalidArgumentException
59 59
      */
60
-    public function extract ($object)
60
+    public function extract($object)
61 61
     {
62 62
         if (!$object instanceof EntityInterface) {
63 63
             throw new \InvalidArgumentException("Extract only from Entities");
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/Hydrator/Strategy/FileCopyStrategy.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -118,9 +118,9 @@
 block discarded – undo
118 118
         $entity = $this->getTargetEntity();
119 119
         
120 120
         $entity->setUser($value['user'])
121
-               ->setName($value['name'])
122
-               ->setType($value['type'])
123
-               ->setFile($value['file']);
121
+                ->setName($value['name'])
122
+                ->setType($value['type'])
123
+                ->setFile($value['file']);
124 124
         
125 125
         return $entity;
126 126
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
         
79 79
         // ensures garbage removal
80 80
         register_shutdown_function(
81
-            function ($filename) {
81
+            function($filename) {
82 82
                 @unlink($filename);
83 83
             },
84 84
             $tmp
Please login to merge, or discard this patch.
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.