Completed
Push — develop ( 41c7f2...c75883 )
by
unknown
08:12
created
module/Auth/src/Acl/Listener/CheckPermissionsListener.php 1 patch
Indentation   +8 added lines, -8 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 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** CheckRouteListener.php */
11 11
 namespace Acl\Listener;
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * @param  EventManagerInterface $events
60 60
      * @param  integer $priority
61
-    */
61
+     */
62 62
     public function attach(EventManagerInterface $events)
63 63
     {
64 64
         $this->listeners[] = $events->attach(MvcEvent::EVENT_ROUTE, array($this, 'onRoute'), -10);
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         $acl  = $this->getAcl();
113 113
         
114 114
         if ($acl->hasResource($resourceId) && !$acl->isAllowed($role, $resourceId, $privilege)) {
115
-           /*
115
+            /*
116 116
             * Exceptions are only catched within the dispatch listener, so
117 117
             * we have to set the exception manually in the event
118 118
             * and trigger the DISPATCH_ERROR event.
Please login to merge, or discard this patch.
module/Auth/src/Auth/Controller/UsersController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,9 +37,9 @@
 block discarded – undo
37 37
         $paginator = $this->paginator('Auth/User', $params);
38 38
         $form = $this->getServiceLocator()->get('forms')
39 39
                 ->get('Core/TextSearch', [
40
-                                           'placeholder' => /*@translate*/ 'Type name, email address, role, or login name',
41
-                                           'button_element' => 'text'
42
-                                       ]);
40
+                                            'placeholder' => /*@translate*/ 'Type name, email address, role, or login name',
41
+                                            'button_element' => 'text'
42
+                                        ]);
43 43
 
44 44
         $return = array(
45 45
             'by' => $params['by'],
Please login to merge, or discard this patch.
module/Core/config/module.config.php 1 patch
Indentation   +30 added lines, -30 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 - 2016 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 - 2016 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(
@@ -234,17 +234,17 @@  discard block
 block discarded – undo
234 234
     // Defines the Core/Navigation.
235 235
     'navigation' => array(
236 236
         'default' => array(
237
-             'home' => array(
238
-                 'label' => /*@translate*/ 'Home',
239
-                 'route' => 'lang',
240
-                 'visible' => false
241
-             ),
242
-             'admin' => array(
243
-                 'label ' => /*@translate*/ 'Admin',
244
-                 'route' => 'lang/admin',
245
-                 'resource' => 'route/lang/admin',
246
-                 'order' => 200,
247
-             ),
237
+                'home' => array(
238
+                    'label' => /*@translate*/ 'Home',
239
+                    'route' => 'lang',
240
+                    'visible' => false
241
+                ),
242
+                'admin' => array(
243
+                    'label ' => /*@translate*/ 'Admin',
244
+                    'route' => 'lang/admin',
245
+                    'resource' => 'route/lang/admin',
246
+                    'order' => 200,
247
+                ),
248 248
         ),
249 249
     ),
250 250
     // Configuration of the controller service manager (Which loads controllers)
Please login to merge, or discard this patch.
module/Core/src/Core/Factory/EventManager/EventManagerAbstractFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -107,10 +107,10 @@
 block discarded – undo
107 107
             }
108 108
 
109 109
             if ($lazy) {
110
-                 $aggregate = $aggregate ?: $serviceLocator->get('Core/Listener/DeferredListenerAggregate');
111
-                 $aggregate->setHook($event, $name, $method, $priority);
110
+                    $aggregate = $aggregate ?: $serviceLocator->get('Core/Listener/DeferredListenerAggregate');
111
+                    $aggregate->setHook($event, $name, $method, $priority);
112 112
 
113
-                 continue;
113
+                    continue;
114 114
             }
115 115
 
116 116
             if ($serviceLocator->has($name)) {
Please login to merge, or discard this patch.
module/Core/src/Core/Form/TextSearchForm.php 1 patch
Indentation   +21 added lines, -21 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
- * @license MIT
7
- * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @license MIT
7
+     * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
+     */
9 9
   
10 10
 /** */
11 11
 namespace Core\Form;
@@ -66,23 +66,23 @@  discard block
 block discarded – undo
66 66
     {
67 67
         $this->setName('search');
68 68
         $this->setAttributes([
69
-                                 'data-handle-by' => 'native',
70
-                                 'method' => 'get',
71
-                                 'class' => 'form-inline search-form',
72
-                             ]);
69
+                                    'data-handle-by' => 'native',
70
+                                    'method' => 'get',
71
+                                    'class' => 'form-inline search-form',
72
+                                ]);
73 73
 
74 74
         $this->add([
75
-                       'type' => 'Text',
76
-                       'name' => 'text',
77
-                       'options' => [
78
-                           'label' => /*@translate*/ 'Search',
79
-                           'use_formrow_helper' => false,
80
-                       ],
81
-                       'attributes' => [
82
-                           'class' => 'form-control',
83
-                           'placeholder' => $this->getOption('placeholder'),
84
-                       ]
85
-                   ]);
75
+                        'type' => 'Text',
76
+                        'name' => 'text',
77
+                        'options' => [
78
+                            'label' => /*@translate*/ 'Search',
79
+                            'use_formrow_helper' => false,
80
+                        ],
81
+                        'attributes' => [
82
+                            'class' => 'form-control',
83
+                            'placeholder' => $this->getOption('placeholder'),
84
+                        ]
85
+                    ]);
86 86
 
87 87
 
88 88
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/SearchForm.php 1 patch
Indentation   +11 added lines, -11 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
- * @license MIT
7
- * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @license MIT
7
+     * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
+     */
9 9
   
10 10
 /** */
11 11
 namespace Core\Form\View\Helper;
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
         $formContent = '<div class="row" style="padding: 0 15px;">'; $buttonsRendered = false;
52 52
         $buttonsContent = '<input type="submit" class="btn btn-primary" name="submit" value="' . $this->getView()->translate('Search') . '">'
53
-                          . '<input type="reset" class="btn btn-default" name="clear" value="' . $this->getView()->translate('Clear') . '">';
53
+                            . '<input type="reset" class="btn btn-default" name="clear" value="' . $this->getView()->translate('Clear') . '">';
54 54
 
55 55
 
56 56
         if (empty($colMap)) {
@@ -84,9 +84,9 @@  discard block
 block discarded – undo
84 84
 
85 85
                 if ($element->getName() == $form->getOption('button_element')) {
86 86
                     $formContent.='<div class="input-group col-md-' . $col . '">'
87
-                                 . $this->getView()->formElement($element)
88
-                                 . '<div class="input-group-btn search-form-buttons" style="width: 0px;">' . $buttonsContent . '</div>'
89
-                                 . '</div>';
87
+                                    . $this->getView()->formElement($element)
88
+                                    . '<div class="input-group-btn search-form-buttons" style="width: 0px;">' . $buttonsContent . '</div>'
89
+                                    . '</div>';
90 90
                     $buttonsRendered = true;
91 91
                 } else {
92 92
                     $formContent .= '<div class="input-group col-md-' . $col . '">' . $this->getView()->formElement($element) . '</div>';
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
             $c = count($form);
99 99
             $col = isset($colMap[$c]) ? $colMap[$c]: 12;
100 100
             $formContent .= '<div class="input-group search-form-buttons col-md-' . $col . ' text-right">'
101
-                          . '<div class="btn-group">' . $buttonsContent .'</div></div>';
101
+                            . '<div class="btn-group">' . $buttonsContent .'</div></div>';
102 102
         }
103 103
 
104 104
         return $this->openTag($form) . $formContent . $this->closeTag();
Please login to merge, or discard this patch.
module/Orders/src/Entity/InvoiceAddress.php 1 patch
Indentation   +6 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
- * @license MIT
7
- * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @license MIT
7
+     * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
+     */
9 9
   
10 10
 /** */
11 11
 namespace Orders\Entity;
@@ -17,7 +17,6 @@  discard block
 block discarded – undo
17 17
  * ${CARET}
18 18
  *
19 19
  * @ODM\EmbeddedDocument
20
-
21 20
  * @author Mathias Gelhausen <[email protected]>
22 21
  * @todo write test 
23 22
  */
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/AdminController.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
- * @license MIT
7
- * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @license MIT
7
+     * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
+     */
9 9
   
10 10
 /** */
11 11
 namespace Jobs\Controller;
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             return new JsonModel([
72 72
                 'valid' => $valid,
73 73
                 'errors' => $errors
74
-                                 ]);
74
+                                    ]);
75 75
         }
76 76
 
77 77
         $form->bind($job);
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/Element/StatusSelect.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
- * @license MIT
7
- * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @license MIT
7
+     * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
+     */
9 9
   
10 10
 /** */
11 11
 namespace Jobs\Form\Element;
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         if (true === $this->getOption('include_all_option')) {
37 37
             $valueOptions = array_merge([
38 38
                                             'all' => /*@translate*/ 'All',
39
-                                         ], $valueOptions );
39
+                                            ], $valueOptions );
40 40
         }
41 41
 
42 42
         $this->setValueOptions($valueOptions);
Please login to merge, or discard this patch.