Completed
Push — develop ( 168e99...0122be )
by
unknown
18:37 queued 07:11
created
module/Organizations/src/Organizations/Entity/OrganizationReference.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
         return $this->proxy('__isset', $property);
196 196
     }
197 197
 
198
-    public function notEmpty($property, array $args=[])
198
+    public function notEmpty($property, array $args = [])
199 199
     {
200 200
         return $this->proxy('notEmpty', $args);
201 201
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormContainer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,9 +96,9 @@
 block discarded – undo
96 96
         } elseif ($element instanceof SummaryForm) {
97 97
             $content .= $this->getView()->summaryForm($element);
98 98
         } elseif ($element instanceof Container) {
99
-            $content.= $this->render($element, $layout, $parameter);
99
+            $content .= $this->render($element, $layout, $parameter);
100 100
         } else {
101
-            $content.= $this->getView()->form($element, $layout, $parameter);
101
+            $content .= $this->getView()->form($element, $layout, $parameter);
102 102
         }
103 103
 
104 104
         return $content;
Please login to merge, or discard this patch.
module/Core/src/Core/Form/Container.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -499,7 +499,7 @@  discard block
 block discarded – undo
499 499
         }
500 500
         $this->activeForms = array_filter(
501 501
             $this->activeForms,
502
-            function ($item) use ($key) {
502
+            function($item) use ($key) {
503 503
                 return !in_array($item, $key);
504 504
             }
505 505
         );
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
513 513
      * @param EntityInterface $entity
514 514
      * @return self
515 515
      */
516
-    public function setEntity(EntityInterface $entity, $key='*')
516
+    public function setEntity(EntityInterface $entity, $key = '*')
517 517
     {
518 518
         $this->entities[$key] = $entity;
519 519
         
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
      *
532 532
      * @return \Core\Entity\EntityInterface
533 533
      */
534
-    public function getEntity($key='*')
534
+    public function getEntity($key = '*')
535 535
     {
536 536
         return isset($this->entities[$key]) ? $this->entities[$key] : null;
537 537
     }
@@ -734,10 +734,10 @@  discard block
 block discarded – undo
734 734
         $actualKey = $this->getActiveFormActual();
735 735
         if (isset($actualKey)) {
736 736
             $forms = array_keys($this->forms);
737
-            $formsFlip =  array_flip($forms);
737
+            $formsFlip = array_flip($forms);
738 738
             $index = $formsFlip[$actualKey];
739 739
             if (0 < $index) {
740
-                $key = $forms[$index-1];
740
+                $key = $forms[$index - 1];
741 741
             }
742 742
         }
743 743
         return $key;
@@ -754,10 +754,10 @@  discard block
 block discarded – undo
754 754
         $actualKey = $this->getActiveFormActual();
755 755
         if (isset($actualKey)) {
756 756
             $forms = array_keys($this->forms);
757
-            $formsFlip =  array_flip($forms);
757
+            $formsFlip = array_flip($forms);
758 758
             $index = $formsFlip[$actualKey];
759 759
             if ($index < count($forms) - 1) {
760
-                $key = $forms[$index+1];
760
+                $key = $forms[$index + 1];
761 761
             }
762 762
         }
763 763
         return $key;
@@ -779,7 +779,7 @@  discard block
 block discarded – undo
779 779
             $options['use_files_array'] = false;
780 780
         }
781 781
 
782
-        $formName     = (($name = $this->getName()) ? $name . '.' : '') . $form['name'];
782
+        $formName = (($name = $this->getName()) ? $name . '.' : '') . $form['name'];
783 783
         $action = '?form=' . $formName;
784 784
 
785 785
         return $action;
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/EntityTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
  */
23 23
 trait EntityTrait
24 24
 {
25
-    public function notEmpty($property, array $args=[])
25
+    public function notEmpty($property, array $args = [])
26 26
     {
27 27
         $method = "get$property";
28 28
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         }
32 32
 
33 33
         $value = count($args)
34
-            ? call_user_func_array([ $this, $method ], $args)
34
+            ? call_user_func_array([$this, $method], $args)
35 35
             : $this->$method();
36 36
 
37 37
         if (null === $value) { // is_scalar does not consider 'null' to be scalar value.
Please login to merge, or discard this patch.
module/Core/src/Core/Listener/DeferredListenerAggregate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
         }
142 142
 
143 143
         if ($method && method_exists($listener, $method)) {
144
-            return call_user_func_array([ $listener, $method ], $args);
144
+            return call_user_func_array([$listener, $method], $args);
145 145
         }
146 146
 
147 147
         if (is_callable($listener)) {
Please login to merge, or discard this patch.
module/Core/src/Core/Factory/EventManager/EventManagerAbstractFactory.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -98,17 +98,17 @@  discard block
 block discarded – undo
98 98
                     $options = [];
99 99
 
100 100
                 } else if (is_int($options)) {
101
-                    $options = [ 'priority' => $options ];
101
+                    $options = ['priority' => $options];
102 102
 
103 103
                 } else if (is_string($options)) {
104
-                    $options = [ 'method' => $options ];
104
+                    $options = ['method' => $options];
105 105
 
106 106
                 } else if (!is_array($options)) {
107
-                    $options = [ 'lazy' => (bool) $options ];
107
+                    $options = ['lazy' => (bool) $options];
108 108
 
109 109
                 }
110 110
 
111
-                $options = array_merge([ 'method' => null, 'priority' => 0, 'lazy' => false ], $options);
111
+                $options = array_merge(['method' => null, 'priority' => 0, 'lazy' => false], $options);
112 112
 
113 113
                 if ($options['lazy'] && !$isAggregate) {
114 114
                     $aggregate = $aggregate ?: $serviceLocator->get('Core/Listener/DeferredListenerAggregate');
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
                 if ($isAggregate) {
133 133
                     $listener->attach($events);
134 134
                 } else {
135
-                    $callback = $options['method'] ? [ $listener, $options['method'] ] : $listener;
135
+                    $callback = $options['method'] ? [$listener, $options['method']] : $listener;
136 136
                     $events->attach($event, $callback, $options['priority']);
137 137
                 }
138 138
 
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
     {
151 151
         $defaults = [
152 152
             'service' => 'EventManager',
153
-            'identifiers' => [ $name ],
153
+            'identifiers' => [$name],
154 154
             'event' => '\Zend\EventManager\Event',
155 155
             'listeners' => [],
156 156
         ];
Please login to merge, or discard this patch.
module/Orders/config/navigation.config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
  * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8 8
  */
9 9
 
10
-return [ 'navigation' => [ 'default' => [
10
+return ['navigation' => ['default' => [
11 11
 
12 12
     'orders' => [
13 13
         'label' =>  /*@translate*/ 'Orders',
Please login to merge, or discard this patch.
module/Orders/config/router.config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * @license MIT
7 7
  * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8 8
  */
9
-return [ 'router' => [ 'routes' => [ 'lang' => [ 'child_routes' => [
9
+return ['router' => ['routes' => ['lang' => ['child_routes' => [
10 10
 
11 11
     'orders' => [
12 12
         'type' => 'Segment',
Please login to merge, or discard this patch.
module/Orders/config/view.config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  */
9 9
 $dir = realpath(__DIR__ . '/../view');
10 10
 
11
-return [ 'view_manager' => [ 'template_map' => [
11
+return ['view_manager' => ['template_map' => [
12 12
 
13 13
     'orders/list/index' => $dir . '/orders/list/index.phtml',
14 14
     'orders/list/index.ajax' => $dir . '/orders/list/index.ajax.phtml',
Please login to merge, or discard this patch.