Completed
Branch develop (7585df)
by Carsten
11:01
created
module/Auth/src/Auth/View/Helper/LoginInfo.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** Auth view helper */
11 11
 namespace Auth\View\Helper;
@@ -24,6 +24,6 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function __invoke($values = array())
26 26
     {
27
-         return $this->getView()->render('auth/index/login-info', $values);
27
+            return $this->getView()->render('auth/index/login-info', $values);
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/FileController.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** FileController.php */
11 11
 namespace Core\Controller;
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         $this->acl($file);
76 76
         
77 77
         $response->getHeaders()->addHeaderline('Content-Type', $file->type)
78
-                               ->addHeaderline('Content-Length', $file->length);
78
+                                ->addHeaderline('Content-Length', $file->length);
79 79
         $response->sendHeaders();
80 80
         
81 81
         $resource = $file->getResource();
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/IndexController.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** ActionController of Core */
11 11
 namespace Core\Controller;
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     {
132 132
         $viewModel = new ViewModel();
133 133
         $viewModel->setTemplate('error/index')
134
-                  ->setVariable('message', 'An unexpected error had occured. Please try again later.');
134
+                    ->setVariable('message', 'An unexpected error had occured. Please try again later.');
135 135
         return $viewModel;
136 136
     }
137 137
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/ContentCollector.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 namespace Core\Controller\Plugin;
11 11
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     public function trigger($event, $target = null)
43 43
     {
44 44
         if (empty($this->_template) || !is_string($this->_template)) {
45
-              throw new \InvalidArgumentException('ContentCollector must have a template-name');
45
+                throw new \InvalidArgumentException('ContentCollector must have a template-name');
46 46
         }
47 47
           
48 48
         $responseCollection = $this->getController()->getEventManager()->trigger($event, $target);
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
         $viewModel->setTemplate($this->_template);
51 51
         foreach ($responseCollection as $i => $response) {
52 52
             if (is_string($response)) {
53
-                      $template = $response;
54
-                      $response = new ViewModel(array('target' => $target));
55
-                      $response->setTemplate($template);
53
+                        $template = $response;
54
+                        $response = new ViewModel(array('target' => $target));
55
+                        $response->setTemplate($template);
56 56
             }
57 57
                     $viewModel->addChild($response, $this->_captureTo . $i);
58 58
         }
Please login to merge, or discard this patch.
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/CreatePaginatorService.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- * @author    [email protected]
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     * @author    [email protected]
9
+     */
10 10
 
11 11
 namespace Core\Controller\Plugin;
12 12
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         //$paginator = $this->createPaginator($repository, $params);
61 61
         $adapter->setParams($params);
62 62
         $paginator->setCurrentPageNumber($params->get('page', 1))
63
-                  ->setItemCountPerPage($params->get('count', 10));
63
+                    ->setItemCountPerPage($params->get('count', 10));
64 64
 
65 65
         return $paginator;
66 66
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/FileSender.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** FileSender.php */
11 11
 namespace Core\Controller\Plugin;
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
         }
33 33
         
34 34
         $response->getHeaders()->addHeaderline('Content-Type', $file->type)
35
-                               ->addHeaderline('Content-Length', $file->size);
35
+                                ->addHeaderline('Content-Length', $file->size);
36 36
         $response->sendHeaders();
37 37
         
38 38
         $resource = $file->getResource();
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/AbstractIdentifiableEntity.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** Core Entitys */
11 11
 namespace Core\Entity;
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 /**
16 16
  *
17 17
  * @ODM\MappedSuperclass
18
-  */
18
+ */
19 19
 abstract class AbstractIdentifiableEntity extends AbstractEntity implements IdentifiableEntityInterface
20 20
 {
21 21
        
Please login to merge, or discard this patch.