Completed
Push — develop ( 31c340...db8caa )
by Mathias
08:35
created
module/Core/src/Core/Controller/Plugin/CreatePaginator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         $this->filterSortParam($params);
43 43
         $paginator = $this->createPaginator($repository, $params);
44 44
         $paginator->setCurrentPageNumber($params->get('page', 1))
45
-                  ->setItemCountPerPage($params->get('count', 10));
45
+                    ->setItemCountPerPage($params->get('count', 10));
46 46
         
47 47
         return $paginator;
48 48
         
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/Mail.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@  discard block
 block discarded – undo
13 13
 
14 14
 class mail extends Message implements PluginInterface
15 15
 {
16
-     protected $controller;
17
-     protected $param;
18
-     protected $config;
16
+        protected $controller;
17
+        protected $param;
18
+        protected $config;
19 19
      
20 20
     /**
21 21
      * Set the current controller instance
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
         } elseif (isset($this->config['templateHalf'])) {
142 142
             $template = $this->config['templateHalf'];
143 143
         } else {
144
-              throw new \InvalidArgumentException('Not template provided for Mail.');
144
+                throw new \InvalidArgumentException('Not template provided for Mail.');
145 145
         }
146 146
         return $template;
147 147
     }
@@ -154,19 +154,19 @@  discard block
 block discarded – undo
154 154
             $from = $this->config['from'];
155 155
         } else {
156 156
             $log->err('A from email address must be provided (Variable $from) in Template: ' . $template);
157
-              throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template);
157
+                throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template);
158 158
         }
159 159
         if (isset($this->config['fromName'])) {
160 160
             $fromName = $this->config['fromName'];
161 161
         } else {
162 162
             $log->err('A from name must be provided (Variable $fromName) in Template: ' . $template);
163
-              throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template);
163
+                throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template);
164 164
         }
165 165
         if (isset($this->config['subject'])) {
166 166
             $subject = $this->config['subject'];
167 167
         } else {
168 168
             $log->err('A subject must be provided (Variable $subject) in Template: ' . $template);
169
-              throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template);
169
+                throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template);
170 170
         }
171 171
         $this->setFrom($from, $fromName);
172 172
         $this->setSubject($subject);
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/Hydrator/Strategy/FileCopyStrategy.php 1 patch
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.
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/View/Helper/FormElement.php 1 patch
Indentation   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
-
4
- */
3
+     */
5 4
 
6 5
 namespace Core\Form\View\Helper;
7 6
 
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/ToggleButton.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3 3
 *
4
- */
4
+     */
5 5
 
6 6
 namespace Core\Form\View\Helper;
7 7
 
Please login to merge, or discard this patch.
module/Core/src/Core/Listener/ErrorHandlerListener.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      *
67 67
      * @param  EventManagerInterface $events
68 68
      * @param  integer $priority
69
-    */
69
+     */
70 70
     public function attach(EventManagerInterface $events, $priority = 1)
71 71
     {
72 72
         $this->listeners[] = $events->attach(MvcEvent::EVENT_DISPATCH_ERROR, array($this, 'handleError'), $priority);
@@ -147,19 +147,19 @@  discard block
 block discarded – undo
147 147
         $error = error_get_last();
148 148
         
149 149
         if ($error) {
150
-             $this->log->err(
151
-                 $error['message'],
152
-                 array(
153
-                 'errno' => $error['type'],
154
-                 'file' => $error['file'],
155
-                 'line' => $error['line']
156
-                 )
157
-             );
158
-             if ($this->redirect &&
150
+                $this->log->err(
151
+                    $error['message'],
152
+                    array(
153
+                    'errno' => $error['type'],
154
+                    'file' => $error['file'],
155
+                    'line' => $error['line']
156
+                    )
157
+                );
158
+                if ($this->redirect &&
159 159
                  ($error['type'] & (E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR))
160
-             ) {
161
-                 if (is_callable($this->redirect)) {
162
-                     call_user_func($this->redirect);
160
+                ) {
161
+                    if (is_callable($this->redirect)) {
162
+                        call_user_func($this->redirect);
163 163
                     }
164 164
                 }
165 165
         }
Please login to merge, or discard this patch.
module/Core/src/Core/Listener/LanguageRouteListener.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
     protected $defaultLanguage;
23 23
     
24 24
     /**
25
-    * @todo: get this from \Core\Options\ModuleOptions.
26
-    */
25
+     * @todo: get this from \Core\Options\ModuleOptions.
26
+     */
27 27
     protected $availableLanguages = array(
28 28
             'en' => 'en_EN',
29 29
             'de' => 'de_DE',
Please login to merge, or discard this patch.
module/Core/src/Core/Listener/StringListener.php 1 patch
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.