Completed
Push — develop ( 31c340...db8caa )
by Mathias
08:35
created
module/Auth/src/Auth/Entity/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
     /** {@inheritdoc} */
178 178
     public function setLogin($login)
179 179
     {
180
-        $this->login = trim((String)$login);
180
+        $this->login = trim((String) $login);
181 181
         return $this;
182 182
     }
183 183
 
Please login to merge, or discard this patch.
module/Auth/src/Auth/Factory/Form/Element/UserSearchbarFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         /* @var $serviceLocator \Zend\ServiceManager\AbstractPluginManager
35 35
          * @var $headscript     \Zend\View\Helper\HeadScript */
36 36
         $services   = $serviceLocator->getServiceLocator();
37
-        $viewHelpers= $services->get('ViewHelperManager');
37
+        $viewHelpers = $services->get('ViewHelperManager');
38 38
         $headscript = $viewHelpers->get('headscript');
39 39
         $basepath   = $viewHelpers->get('basepath');
40 40
 
Please login to merge, or discard this patch.
module/Auth/src/Auth/Factory/Form/UserInfoFieldsetFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     public function createService(ServiceLocatorInterface $serviceLocator)
22 22
     {
23
-        $services= $serviceLocator->getServiceLocator();
23
+        $services = $serviceLocator->getServiceLocator();
24 24
         $user = $services->get('AuthenticationService')->getUser();
25 25
         $fieldset     = new UserInfoFieldset();
26 26
         $imageEntity  = new UserImage();
Please login to merge, or discard this patch.
module/Auth/src/Auth/Listener/Events/AuthEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * a new password was created
24 24
      */
25
-    const EVENT_AUTH_NEWPASSWORD   = 'auth.newpassword';
25
+    const EVENT_AUTH_NEWPASSWORD = 'auth.newpassword';
26 26
 
27 27
     protected $userEntity;
28 28
 
Please login to merge, or discard this patch.
module/Auth/src/Auth/Listener/SocialProfilesUnconfiguredErrorListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 {
28 28
     public function attach(EventManagerInterface $events)
29 29
     {
30
-        $this->listeners[] = $events->attach(MvcEvent::EVENT_DISPATCH_ERROR, [ $this, 'onDispatchError']);
30
+        $this->listeners[] = $events->attach(MvcEvent::EVENT_DISPATCH_ERROR, [$this, 'onDispatchError']);
31 31
 
32 32
         return $this;
33 33
     }
Please login to merge, or discard this patch.
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.