Completed
Push — develop ( 60c2a6...7c4b2f )
by Carsten
61:42 queued 47:32
created
module/Auth/src/Auth/Repository/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
     public function findByQuery($query)
186 186
     {
187 187
         $qb = $this->createQueryBuilder();
188
-        $parts  = explode(' ', trim($query));
188
+        $parts = explode(' ', trim($query));
189 189
         
190 190
         foreach ($parts as $q) {
191 191
             $regex = new \MongoRegex('/^' . $query . '/i');
Please login to merge, or discard this patch.
module/Core/Module.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,10 +76,10 @@  discard block
 block discarded – undo
76 76
  #       $LogListener->attach($eventManager);
77 77
         
78 78
         if (!\Zend\Console\Console::isConsole()) {
79
-            $redirectCallback = function () use ($e) {
79
+            $redirectCallback = function() use ($e) {
80 80
                 $routeMatch = $e->getRouteMatch();
81 81
                 $lang = $routeMatch ? $routeMatch->getParam('lang', 'en') : 'en';
82
-                $uri    = $e->getRouter()->getBaseUrl() . '/' . $lang . '/error';
82
+                $uri = $e->getRouter()->getBaseUrl() . '/' . $lang . '/error';
83 83
                 
84 84
                 header('Location: ' . $uri);
85 85
             };
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
         
117 117
         $eventManager->attach(
118 118
             MvcEvent::EVENT_DISPATCH_ERROR,
119
-            function ($event) {
119
+            function($event) {
120 120
                 $application = $event->getApplication();
121 121
                 if ($application::ERROR_EXCEPTION == $event->getError()) {
122 122
                     $ex = $event->getParam('exception');
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         );
131 131
         $eventManager->attach(
132 132
             MvcEvent::EVENT_DISPATCH,
133
-            function ($event) use ($eventManager) {
133
+            function($event) use ($eventManager) {
134 134
                 $eventManager->trigger('postDispatch', $event);
135 135
             },
136 136
             -150
Please login to merge, or discard this patch.
module/Core/config/module.config.php 1 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/Plugin/CreatePaginatorService.php 1 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/EntitySnapshot.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -348,7 +348,7 @@
 block discarded – undo
348 348
                         }
349 349
                     } else {
350 350
                         if ($array1[$key] != $array2[$key]) {
351
-                            $result[$key] = array( $array1[$key], $array2[$key]);
351
+                            $result[$key] = array($array1[$key], $array2[$key]);
352 352
                         }
353 353
                     }
354 354
                     if (!empty($subResult)) {
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/Mail.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     
81 81
     public function template($template)
82 82
     {
83
-        $controller =  get_class($this->controller);
83
+        $controller = get_class($this->controller);
84 84
         $services = $this->getController()->getServiceLocator();
85 85
         
86 86
         $event = new Event();
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
                     unset($__vars[$key]);
129 129
                 }
130 130
             }
131
-            unset($__vars['content'],$__vars['controllerIdentifier'],$__vars['controller'],$__vars['resource'],$__vars['template'],$__vars['viewResolver']);
131
+            unset($__vars['content'], $__vars['controllerIdentifier'], $__vars['controller'], $__vars['resource'], $__vars['template'], $__vars['viewResolver']);
132 132
             $this->config = $__vars;
133 133
         }
134 134
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/Notification.php 1 patch
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.
module/Core/src/Core/Controller/Plugin/PaginationParams.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
     public function getList($namespace, $callback)
136 136
     {
137 137
         $session = new Container($namespace);
138
-        $params  = $session->params?:array();
138
+        $params  = $session->params ?: array();
139 139
         if (!$session->list) {
140 140
             $session->list = is_array($callback)
141 141
             ? call_user_func($callback, $session->params)
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/AbstractEntity.php 1 patch
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.