Completed
Push — develop ( 60c2a6...7c4b2f )
by Carsten
61:42 queued 47:32
created
module/Core/config/module.config.php 2 patches
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- * Configuration file of the Core module
5
- *
6
- * This file intents to provide the configuration for all other modules
7
- * as well (convention over configuration).
8
- * Having said that, you may always overwrite or extend the configuration
9
- * in your own modules configuration file(s) (or via the config autoloading).
10
- *
11
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
12
- * @license   MIT
13
- */
3
+         * YAWIK
4
+         * Configuration file of the Core module
5
+         *
6
+         * This file intents to provide the configuration for all other modules
7
+         * as well (convention over configuration).
8
+         * Having said that, you may always overwrite or extend the configuration
9
+         * in your own modules configuration file(s) (or via the config autoloading).
10
+         *
11
+         * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
12
+         * @license   MIT
13
+         */
14 14
 
15 15
 $doctrineConfig = include __DIR__ . '/doctrine.config.php';
16 16
 
@@ -32,24 +32,24 @@  discard block
 block discarded – undo
32 32
     'log' => array(
33 33
         'Core/Log' => array(
34 34
             'writers' => array(
35
-                 array(
36
-                     'name' => 'stream',
35
+                    array(
36
+                        'name' => 'stream',
37 37
                     'priority' => 1000,
38 38
                     'options' => array(
39
-                         'stream' => __DIR__ .'/../../../log/yawik.log',
39
+                            'stream' => __DIR__ .'/../../../log/yawik.log',
40
+                    ),
40 41
                     ),
41
-                 ),
42 42
             ),
43 43
         ),
44 44
         'Log/Core/Mail' => array(
45 45
             'writers' => array(
46
-                 array(
47
-                     'name' => 'stream',
46
+                    array(
47
+                        'name' => 'stream',
48 48
                     'priority' => 1000,
49 49
                     'options' => array(
50
-                         'stream' => __DIR__ .'/../../../log/mails.log',
50
+                            'stream' => __DIR__ .'/../../../log/mails.log',
51
+                    ),
51 52
                     ),
52
-                 ),
53 53
             ),
54 54
         ),
55 55
         'ErrorLogger' => array(
@@ -197,11 +197,11 @@  discard block
 block discarded – undo
197 197
     // Defines the Core/Navigation.
198 198
     'navigation' => array(
199 199
         'default' => array(
200
-             'home' => array(
201
-                 'label' => /*@translate*/ 'Home',
202
-                 'route' => 'lang',
203
-                 'visible' => false
204
-             ),
200
+                'home' => array(
201
+                    'label' => /*@translate*/ 'Home',
202
+                    'route' => 'lang',
203
+                    'visible' => false
204
+                ),
205 205
         ),
206 206
     ),
207 207
     // Configuration of the controller service manager (Which loads controllers)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
                      'name' => 'stream',
37 37
                     'priority' => 1000,
38 38
                     'options' => array(
39
-                         'stream' => __DIR__ .'/../../../log/yawik.log',
39
+                         'stream' => __DIR__ . '/../../../log/yawik.log',
40 40
                     ),
41 41
                  ),
42 42
             ),
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
                      'name' => 'stream',
48 48
                     'priority' => 1000,
49 49
                     'options' => array(
50
-                         'stream' => __DIR__ .'/../../../log/mails.log',
50
+                         'stream' => __DIR__ . '/../../../log/mails.log',
51 51
                     ),
52 52
                  ),
53 53
             ),
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 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             throw new \InvalidArgumentException('$defaultParams must be an array or implement \Traversable');
37 37
         }
38 38
 
39
-        $services   = $this->getController()->getServiceLocator();
39
+        $services = $this->getController()->getServiceLocator();
40 40
         $paginatorManager = $services->get('Core/PaginatorService');
41 41
         $paginator = $paginatorManager->get($paginatorName);
42 42
         if (!isset($paginator) || !$paginator instanceof ZendPaginator) {
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/Notification.php 2 patches
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.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 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
 /** SettingsEntityResolverFactory.php */
11 11
 namespace Settings\Repository;
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/AbstractEntity.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
             return $this->$method($value);
42 42
         }
43 43
         
44
-        throw new OutOfBoundsException("'$property' is not a valid property of '" . get_class($this). "'");
44
+        throw new OutOfBoundsException("'$property' is not a valid property of '" . get_class($this) . "'");
45 45
     }
46 46
     
47 47
     /**
Please login to merge, or discard this patch.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,6 @@
 block discarded – undo
138 138
      * If the property is an array, the check will return, if this
139 139
      * array has items or not.
140 140
      *
141
-     * @param string $name
142 141
      * @return boolean
143 142
      */
144 143
     public function __isset($property)
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 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
 /** SettingsEntityResolverFactory.php */
11 11
 namespace Settings\Repository;
Please login to merge, or discard this patch.