Completed
Push — develop ( 037ef6...a650ad )
by Carsten
06:58
created
module/Applications/src/Applications/Controller/ApplyController.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
             ->getHybridAuth();
240 240
         /* @var $authProfile \Hybrid_User_Profile */
241 241
         $authProfile = $hybridAuth->authenticate($network)
242
-           ->getUserProfile();
242
+            ->getUserProfile();
243 243
 
244 244
         /* @var \Auth\Entity\SocialProfiles\AbstractProfile $profile */
245 245
         $profile = $this->plugin('Auth/SocialProfiles')->fetch($network);
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
         }
293 293
         
294 294
         return $this->redirect()
295
-           ->toRoute('lang/apply', ['applyId' => $job->getApplyId()], $urlOptions);
295
+            ->toRoute('lang/apply', ['applyId' => $job->getApplyId()], $urlOptions);
296 296
     }
297 297
 
298 298
     public function processPreviewAction()
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
                 throw new \RuntimeException('Invalid application id.');
92 92
             }
93 93
 
94
-            $action     = 'process';
94
+            $action = 'process';
95 95
 
96 96
             $routeMatch->setParam('action', $action);
97 97
         } else {
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     {
183 183
         $this->response->setStatusCode(410);
184 184
         $model = new ViewModel(
185
-            [ 'content' => /*@translate*/ 'Invalid apply id']
185
+            ['content' => /*@translate*/ 'Invalid apply id']
186 186
         );
187 187
         $model->setTemplate('applications/error/not-found');
188 188
         return $model;
@@ -360,13 +360,13 @@  discard block
 block discarded – undo
360 360
         }
361 361
 
362 362
         if ('previewmail' == $this->params()->fromQuery('do')) {
363
-            $this->mailer('Applications/CarbonCopy', [ 'application' => $application], true);
363
+            $this->mailer('Applications/CarbonCopy', ['application' => $application], true);
364 364
             $this->notification()->success(/*@translate*/ 'Mail has been send');
365 365
             return new JsonModel();
366 366
         }
367 367
 
368 368
         if ('sendmail' == $this->params()->fromQuery('do')) {
369
-            $jobEntity         = $application->getJob();
369
+            $jobEntity = $application->getJob();
370 370
 
371 371
             $mailData = array(
372 372
                 'application' => $application,
@@ -396,8 +396,8 @@  discard block
 block discarded – undo
396 396
 
397 397
         $repositories->store($application);
398 398
         
399
-        $events   = $services->get('Applications/Events');
400
-        $events->trigger(ApplicationEvent::EVENT_APPLICATION_POST_CREATE, $this, [ 'application' => $application ]);
399
+        $events = $services->get('Applications/Events');
400
+        $events->trigger(ApplicationEvent::EVENT_APPLICATION_POST_CREATE, $this, ['application' => $application]);
401 401
 
402 402
         $model = new ViewModel(
403 403
             array(
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/View/Helper/ApplyButtons.php 2 patches
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             'sendImmediately' => false
72 72
         ], $options);
73 73
         $view = $this->view;
74
-		$currentTemplate = $view->viewModel()
74
+        $currentTemplate = $view->viewModel()
75 75
             ->getCurrent()
76 76
             ->getTemplate();
77 77
         $partial = dirname($currentTemplate) . '/' . $options['partial'];
@@ -87,10 +87,10 @@  discard block
 block discarded – undo
87 87
             $label = $options['oneClickLabel'] ?: $view->translate('Apply with %s');
88 88
             
89 89
             foreach ($data['oneClickProfiles'] as $network) {
90
-				$variables['oneClick'][] = [
90
+                $variables['oneClick'][] = [
91 91
                     'label' => sprintf($label, $network),
92 92
                     'url' => $view->url('lang/apply-one-click', ['applyId' => $data['applyId'], 'network' => $network, 'immediately' => $options['sendImmediately'] ?: null], ['force_canonical' => true]),
93
-				    'network' => $network
93
+                    'network' => $network
94 94
                 ];
95 95
             }
96 96
         }
@@ -98,22 +98,22 @@  discard block
 block discarded – undo
98 98
         return $view->partial($partial, $variables);
99 99
     }
100 100
     
101
-	/**
102
-	 * @return string
103
-	 */
104
-	public function getPartial()
105
-	{
106
-		return $this->partial;
107
-	}
101
+    /**
102
+     * @return string
103
+     */
104
+    public function getPartial()
105
+    {
106
+        return $this->partial;
107
+    }
108 108
 
109
-	/**
110
-	 * @param string $partial
111
-	 * @return ApplyButtons
112
-	 */
113
-	public function setPartial($partial)
114
-	{
115
-		$this->partial = $partial;
109
+    /**
110
+     * @param string $partial
111
+     * @return ApplyButtons
112
+     */
113
+    public function setPartial($partial)
114
+    {
115
+        $this->partial = $partial;
116 116
 		
117
-		return $this;
118
-	}
117
+        return $this;
118
+    }
119 119
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 		$currentTemplate = $view->viewModel()
75 75
             ->getCurrent()
76 76
             ->getTemplate();
77
-        $partial = dirname($currentTemplate) . '/' . $options['partial'];
77
+        $partial = dirname($currentTemplate).'/'.$options['partial'];
78 78
         
79 79
         if (!$options['oneClickOnly'] && $data['uri']) {
80 80
             $variables['default'] = [
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Entity/AtsMode.php 2 patches
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -208,13 +208,13 @@  discard block
 block discarded – undo
208 208
         return $this->email;
209 209
     }
210 210
 
211
-	/**
212
-	 * @return bool
213
-	 */
214
-	public function getOneClickApply()
215
-	{
216
-		return $this->oneClickApply;
217
-	}
211
+    /**
212
+     * @return bool
213
+     */
214
+    public function getOneClickApply()
215
+    {
216
+        return $this->oneClickApply;
217
+    }
218 218
 
219 219
 
220 220
     /**
@@ -222,29 +222,29 @@  discard block
 block discarded – undo
222 222
      *
223 223
      * @return $this
224 224
      */
225
-	public function setOneClickApply($oneClickApply)
226
-	{
227
-		$this->oneClickApply = (bool)$oneClickApply;
225
+    public function setOneClickApply($oneClickApply)
226
+    {
227
+        $this->oneClickApply = (bool)$oneClickApply;
228 228
 		
229
-		return $this;
230
-	}
231
-
232
-	/**
233
-	 * @return array
234
-	 */
235
-	public function getOneClickApplyProfiles()
236
-	{
237
-		return $this->oneClickApplyProfiles;
238
-	}
239
-
240
-	/**
241
-	 * @param array $oneClickApplyProfiles
242
-	 * @return AtsMode
243
-	 */
244
-	public function setOneClickApplyProfiles(array $oneClickApplyProfiles)
245
-	{
246
-		$this->oneClickApplyProfiles = $oneClickApplyProfiles;
229
+        return $this;
230
+    }
231
+
232
+    /**
233
+     * @return array
234
+     */
235
+    public function getOneClickApplyProfiles()
236
+    {
237
+        return $this->oneClickApplyProfiles;
238
+    }
239
+
240
+    /**
241
+     * @param array $oneClickApplyProfiles
242
+     * @return AtsMode
243
+     */
244
+    public function setOneClickApplyProfiles(array $oneClickApplyProfiles)
245
+    {
246
+        $this->oneClickApplyProfiles = $oneClickApplyProfiles;
247 247
 		
248
-		return $this;
249
-	}
248
+        return $this;
249
+    }
250 250
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@
 block discarded – undo
224 224
      */
225 225
 	public function setOneClickApply($oneClickApply)
226 226
 	{
227
-		$this->oneClickApply = (bool)$oneClickApply;
227
+		$this->oneClickApply = (bool) $oneClickApply;
228 228
 		
229 229
 		return $this;
230 230
 	}
Please login to merge, or discard this patch.
module/Auth/src/Auth/Factory/Listener/ExceptionStrategyFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
             break;
38 38
         }
39 39
         
40
-        $config   = $serviceLocator->get('Config');
40
+        $config = $serviceLocator->get('Config');
41 41
          
42 42
         if (isset($config['view_manager'])) {
43 43
             if (isset($config['view_manager']['display_exceptions'])) {
Please login to merge, or discard this patch.
module/Auth/src/Auth/Controller/IndexController.php 3 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -411,8 +411,7 @@
 block discarded – undo
411 411
                     } else {
412 412
                         $notFoundUsers[] = $grp_member . $loginSuffix;
413 413
                     }
414
-                }
415
-                catch (\Auth\Exception\UserDeactivatedException $e)
414
+                } catch (\Auth\Exception\UserDeactivatedException $e)
416 415
                 {
417 416
                     $notFoundUsers[] = $grp_member . $loginSuffix;
418 417
                 }
Please login to merge, or discard this patch.
Spacing   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
 class IndexController extends AbstractActionController
35 35
 {
36 36
 
37
-    const LOGIN='login';
38
-    const REGISTER='register';
37
+    const LOGIN = 'login';
38
+    const REGISTER = 'register';
39 39
 
40 40
     /**
41 41
      * @var AuthenticationService
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
         $registerForm = $this->forms[self::REGISTER];
92 92
 
93 93
         /* @var $request \Zend\Http\Request */
94
-        $request   = $this->getRequest();
94
+        $request = $this->getRequest();
95 95
 
96 96
         if ($request->isPost()) {
97 97
             $data                          = $this->params()->fromPost();
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
             if (array_key_exists('credentials', $data) &&
110 110
                 array_key_exists('login', $data['credentials']) &&
111 111
                 array_key_exists('credential', $data['credentials'])) {
112
-                $adapter->setIdentity($data['credentials']['login'] . $loginSuffix)
112
+                $adapter->setIdentity($data['credentials']['login'].$loginSuffix)
113 113
                     ->setCredential($data['credentials']['credential']);
114 114
             }
115 115
             
@@ -120,14 +120,14 @@  discard block
 block discarded – undo
120 120
             if ($result->isValid()) {
121 121
                 $user = $auth->getUser();
122 122
                 $language = $services->get('Core/Locale')->detectLanguage($request, $user);
123
-                $this->logger->info('User ' . $user->login . ' logged in');
123
+                $this->logger->info('User '.$user->login.' logged in');
124 124
                 
125 125
                 $ref = $this->params()->fromQuery('ref', false);
126 126
 
127 127
                 if ($ref) {
128 128
                     $ref = urldecode($ref);
129
-                    $url = preg_replace('~/[a-z]{2}(/|$)~', '/' . $language . '$1', $ref);
130
-                    $url = $request->getBasePath() . $url;
129
+                    $url = preg_replace('~/[a-z]{2}(/|$)~', '/'.$language.'$1', $ref);
130
+                    $url = $request->getBasePath().$url;
131 131
                 } else {
132 132
                     $urlHelper = $services->get('ViewHelperManager')->get('url');
133 133
                     $url = $urlHelper('lang', array('lang' => $language));
@@ -137,9 +137,9 @@  discard block
 block discarded – undo
137 137
             } else {
138 138
                 $loginName = $data['credentials']['login'];
139 139
                 if (!empty($loginSuffix)) {
140
-                    $loginName = $loginName . ' (' . $loginName . $loginSuffix . ')';
140
+                    $loginName = $loginName.' ('.$loginName.$loginSuffix.')';
141 141
                 }
142
-                $this->logger->info('Failed to authenticate User ' . $loginName);
142
+                $this->logger->info('Failed to authenticate User '.$loginName);
143 143
                 $this->notification()->danger(/*@translate*/ 'Authentication failed.');
144 144
             }
145 145
         }
@@ -198,11 +198,11 @@  discard block
 block discarded – undo
198 198
             try {
199 199
                 $user          = $auth->getUser();
200 200
                 $password      = substr(md5(uniqid()), 0, 6);
201
-                $login         = uniqid() . ($this->options->auth_suffix != "" ? '@' . $this->options->auth_suffix : '');
202
-                $externalLogin = isset($user->login)?$user->login:'-- not communicated --';
203
-                $this->logger->debug('first login via ' . $provider . ' as: ' . $externalLogin);
201
+                $login         = uniqid().($this->options->auth_suffix != "" ? '@'.$this->options->auth_suffix : '');
202
+                $externalLogin = isset($user->login) ? $user->login : '-- not communicated --';
203
+                $this->logger->debug('first login via '.$provider.' as: '.$externalLogin);
204 204
 
205
-                $user->login=$login;
205
+                $user->login = $login;
206 206
                 $user->setPassword($password);
207 207
                 $user->setRole($this->options->getRole());
208 208
 
@@ -219,11 +219,11 @@  discard block
 block discarded – undo
219 219
                 );
220 220
                 $mail->addTo($user->getInfo()->getEmail());
221 221
 
222
-                $loggerId = $login . ' (' . $provider . ': ' . $externalLogin . ')';
222
+                $loggerId = $login.' ('.$provider.': '.$externalLogin.')';
223 223
                 if (isset($mail) && $this->mailer($mail)) {
224
-                    $this->logger->info('Mail first-login for ' . $loggerId . ' sent to ' . $user->getInfo()->getEmail());
224
+                    $this->logger->info('Mail first-login for '.$loggerId.' sent to '.$user->getInfo()->getEmail());
225 225
                 } else {
226
-                    $this->logger->warn('No Mail was sent for ' . $loggerId);
226
+                    $this->logger->warn('No Mail was sent for '.$loggerId);
227 227
                 }
228 228
             } catch (\Exception $e) {
229 229
                 $this->logger->crit($e);
@@ -234,11 +234,11 @@  discard block
 block discarded – undo
234 234
         }
235 235
         
236 236
         $user = $auth->getUser();
237
-        $this->logger->info('User ' . $auth->getUser()->getInfo()->getDisplayName() . ' logged in via ' . $provider);
237
+        $this->logger->info('User '.$auth->getUser()->getInfo()->getDisplayName().' logged in via '.$provider);
238 238
         $settings = $user->getSettings('Core');
239 239
         if (null !== $settings->localization->language) {
240 240
             $basePath = $this->getRequest()->getBasePath();
241
-            $ref = preg_replace('~^'.$basePath . '/[a-z]{2}(?=/|$)~', $basePath . '/' . $settings->localization->language, $ref);
241
+            $ref = preg_replace('~^'.$basePath.'/[a-z]{2}(?=/|$)~', $basePath.'/'.$settings->localization->language, $ref);
242 242
         }
243 243
         return $this->redirect()->toUrl($ref);
244 244
     }
@@ -270,8 +270,8 @@  discard block
 block discarded – undo
270 270
         
271 271
         if ($result->isValid()) {
272 272
             $this->logger->info(
273
-                'User ' . $this->params()->fromPost('user') .
274
-                ' logged via ' . $appKey
273
+                'User '.$this->params()->fromPost('user').
274
+                ' logged via '.$appKey
275 275
             );
276 276
             
277 277
             // the external login may include some parameters for an update
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
             if (array_key_exists('firstLogin', $resultMessage) && $resultMessage['firstLogin'] === true) {
303 303
                 // first external Login
304 304
                 $userName = $this->params()->fromPost('user');
305
-                $this->logger->debug('first login for User: ' .  $userName);
305
+                $this->logger->debug('first login for User: '.$userName);
306 306
                 //
307 307
                 if (preg_match('/^(.*)@\w+$/', $userName, $realUserName)) {
308 308
                     $userName = $realUserName[1];
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
 
327 327
                 try {
328 328
                     $this->mailer($mail);
329
-                    $this->logger->info('Mail first-login sent to ' . $userName);
329
+                    $this->logger->info('Mail first-login sent to '.$userName);
330 330
                 } catch (\Zend\Mail\Transport\Exception\ExceptionInterface $e) {
331 331
                     $this->logger->warn('No Mail was sent');
332 332
                     $this->logger->debug($e);
@@ -341,8 +341,8 @@  discard block
 block discarded – undo
341 341
             );
342 342
         } else {
343 343
             $this->logger->info(
344
-                'Failed to authenticate User ' . $this->params()->fromPost('user') .
345
-                ' via ' . $this->params()->fromPost('appKey')
344
+                'Failed to authenticate User '.$this->params()->fromPost('user').
345
+                ' via '.$this->params()->fromPost('appKey')
346 346
             );
347 347
             
348 348
             $this->getResponse()->setStatusCode(Response::STATUS_CODE_401);
@@ -367,8 +367,8 @@  discard block
 block discarded – undo
367 367
                 array(
368 368
                 'format' => 'json',
369 369
                     'group' => array(
370
-                        0 => 'testuser4711', 1 => 'flatscreen', 2 => 'flatscreen1', 3 => 'flatscreen2', 4 => 'flatscreen3',  5 => 'flatscreen4',
371
-                        6 => 'flatscreen5', 7 => 'flatscreen6', 8 => 'flatscreen7',  9 => 'flatscreen8', 10 => 'flatscreen9'
370
+                        0 => 'testuser4711', 1 => 'flatscreen', 2 => 'flatscreen1', 3 => 'flatscreen2', 4 => 'flatscreen3', 5 => 'flatscreen4',
371
+                        6 => 'flatscreen5', 7 => 'flatscreen6', 8 => 'flatscreen7', 9 => 'flatscreen8', 10 => 'flatscreen9'
372 372
                     ),
373 373
                     'name' => '(die) Rauscher – Unternehmensberatung & Consulting',
374 374
                 )
@@ -377,7 +377,7 @@  discard block
 block discarded – undo
377 377
         }
378 378
         $auth = $this->auth;
379 379
         $userGrpAdmin = $auth->getUser();
380
-        $this->logger->info('User ' . $auth->getUser()->getInfo()->getDisplayName());
380
+        $this->logger->info('User '.$auth->getUser()->getInfo()->getDisplayName());
381 381
         $grp = $this->params()->fromQuery('group');
382 382
         
383 383
         // if the request is made by an external host, add his identification-key to the name
@@ -398,16 +398,16 @@  discard block
 block discarded – undo
398 398
             foreach ($params->group as $grp_member) {
399 399
                 try
400 400
                 {
401
-                    $user = $users->findByLogin($grp_member . $loginSuffix);
401
+                    $user = $users->findByLogin($grp_member.$loginSuffix);
402 402
                     if (!empty($user)) {
403 403
                         $groupUserId[] = $user->id;
404 404
                     } else {
405
-                        $notFoundUsers[] = $grp_member . $loginSuffix;
405
+                        $notFoundUsers[] = $grp_member.$loginSuffix;
406 406
                     }
407 407
                 }
408 408
                 catch (\Auth\Exception\UserDeactivatedException $e)
409 409
                 {
410
-                    $notFoundUsers[] = $grp_member . $loginSuffix;
410
+                    $notFoundUsers[] = $grp_member.$loginSuffix;
411 411
                 }
412 412
             }
413 413
         }
@@ -417,9 +417,9 @@  discard block
 block discarded – undo
417 417
             $group->setUsers($groupUserId);
418 418
         }
419 419
         $this->logger->info(
420
-            'Update Group Name: ' . $name . PHP_EOL . str_repeat(' ', 36) . 'Group Owner: ' . $userGrpAdmin->getLogin() . PHP_EOL .
421
-            str_repeat(' ', 36) . 'Group Members Param: ' . implode(',', $params->group) . PHP_EOL .
422
-            str_repeat(' ', 36) . 'Group Members: ' . count($groupUserId) . PHP_EOL . str_repeat(' ', 36) . 'Group Members not found: ' . implode(',', $notFoundUsers)
420
+            'Update Group Name: '.$name.PHP_EOL.str_repeat(' ', 36).'Group Owner: '.$userGrpAdmin->getLogin().PHP_EOL.
421
+            str_repeat(' ', 36).'Group Members Param: '.implode(',', $params->group).PHP_EOL.
422
+            str_repeat(' ', 36).'Group Members: '.count($groupUserId).PHP_EOL.str_repeat(' ', 36).'Group Members not found: '.implode(',', $notFoundUsers)
423 423
         );
424 424
         
425 425
         return new JsonModel(
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
     public function logoutAction()
437 437
     {
438 438
         $auth = $this->auth;
439
-        $this->logger->info('User ' . ($auth->getUser()->login==''?$auth->getUser()->info->displayName:$auth->getUser()->login) . ' logged out');
439
+        $this->logger->info('User '.($auth->getUser()->login == '' ? $auth->getUser()->info->displayName : $auth->getUser()->login).' logged out');
440 440
         $auth->clearIdentity();
441 441
         unset($_SESSION['HA::STORE']);
442 442
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      * @param $auth  AuthenticationService
62 62
      * @param $logger LoggerInterface
63 63
      * @param $forms
64
-     * @param $options ModuleOptions
64
+     * @param ModuleOptions $options ModuleOptions
65 65
      */
66 66
     public function __construct(AuthenticationService $auth, LoggerInterface $logger, array $forms, $options)
67 67
     {
Please login to merge, or discard this patch.
module/Auth/src/Auth/Listener/DeactivatedUserListener.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         ];
34 34
         
35 35
         // do nothing for allowed routes
36
-		if (in_array($routeName, $allowedRoutes))
36
+        if (in_array($routeName, $allowedRoutes))
37 37
         {
38 38
             return;
39 39
         }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/UserStatusFieldset.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -62,17 +62,17 @@
 block discarded – undo
62 62
     }
63 63
 
64 64
     /**
65
-	 * @param array $statusOptions
66
-	 * @return UserStatusFieldset
67
-	 */
68
-	public function setStatusOptions(array $statusOptions)
69
-	{
70
-		$this->statusOptions = $statusOptions;
65
+     * @param array $statusOptions
66
+     * @return UserStatusFieldset
67
+     */
68
+    public function setStatusOptions(array $statusOptions)
69
+    {
70
+        $this->statusOptions = $statusOptions;
71 71
 		
72
-		return $this;
73
-	}
72
+        return $this;
73
+    }
74 74
 
75
-	public function init()
75
+    public function init()
76 76
     {
77 77
         $this->setName('status');
78 78
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
                 'attributes' => [
88 88
                     'data-placeholder' => /*@translate*/ 'please select',
89 89
                     'data-allowclear' => 'false',
90
-                    'data-searchbox' => -1,  // hide the search box
90
+                    'data-searchbox' => -1, // hide the search box
91 91
                     'required' => true, // mark label as required
92 92
                 ],
93 93
             ]
Please login to merge, or discard this patch.
module/Auth/src/Auth/Entity/Status.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,10 +53,10 @@
 block discarded – undo
53 53
     public function __construct($status = self::ACTIVE)
54 54
     {
55 55
         if (!isset(static::$orderMap[$status])) {
56
-            throw new \DomainException('Unknown status: ' . $status);
56
+            throw new \DomainException('Unknown status: '.$status);
57 57
         }
58 58
         
59
-        $constant = 'self::' . strtoupper($status);
59
+        $constant = 'self::'.strtoupper($status);
60 60
         $this->name = constant($constant);
61 61
         $this->order = $this->getOrder();
62 62
     }
Please login to merge, or discard this patch.
module/Auth/config/module.config.php 2 patches
Spacing   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
                  * for multiple paths.
30 30
                  * example https://github.com/doctrine/DoctrineORMModule
31 31
                  */
32
-                'paths' => array( __DIR__ . '/../src/Auth/Entity'),
32
+                'paths' => array(__DIR__.'/../src/Auth/Entity'),
33 33
             ),
34 34
         ),
35 35
     ),
@@ -107,13 +107,13 @@  discard block
 block discarded – undo
107 107
     'hybridauth' => array(
108 108
         "Facebook" => array(
109 109
             "enabled" => true,
110
-            "keys"    => array( "id" => "", "secret" => "" ),
110
+            "keys"    => array("id" => "", "secret" => ""),
111 111
             "scope"      => 'email, user_about_me, user_birthday, user_hometown, user_website',
112 112
             "display" => 'popup',
113 113
         ),
114 114
         "LinkedIn" => array(
115 115
             "enabled" => true,
116
-            "keys"    => array( "key" => "", "secret" => "" ),
116
+            "keys"    => array("key" => "", "secret" => ""),
117 117
         ),
118 118
         "XING" => array(
119 119
             "enabled" => true,
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
                 'class' => 'Hybrid_Providers_XING',
124 124
                 'path' => __FILE__,
125 125
             ),
126
-            "keys"    => array( "key" => "", "secret" => "" ),
126
+            "keys"    => array("key" => "", "secret" => ""),
127 127
         ),
128 128
         "Github" => array(
129 129
             "enabled" => true,
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
                 'class' => 'Hybrid_Providers_Github',
134 134
                 'path' => __FILE__,
135 135
             ),
136
-            "keys"    => array( "key" => "", "secret" => "" ),
136
+            "keys"    => array("key" => "", "secret" => ""),
137 137
         ),
138 138
 
139 139
     ),
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
         'translation_file_patterns' => array(
234 234
             array(
235 235
                 'type'     => 'gettext',
236
-                'base_dir' => __DIR__ . '/../language',
236
+                'base_dir' => __DIR__.'/../language',
237 237
                 'pattern'  => '%s.mo',
238 238
             ),
239 239
         ),
@@ -242,25 +242,25 @@  discard block
 block discarded – undo
242 242
     // Configure the view service manager
243 243
     'view_manager' => array(
244 244
         'template_map' => array(
245
-            'form/auth/contact.form' => __DIR__ . '/../view/form/contact.form.phtml',
246
-            'form/auth/contact.view' => __DIR__ . '/../view/form/contact.view.phtml',
247
-            'form/auth/status.form' => __DIR__ . '/../view/form/status.form.phtml',
248
-            'form/auth/status.view' => __DIR__ . '/../view/form/status.view.phtml',
249
-            'auth/error/social-profiles-unconfigured' => __DIR__ . '/../view/error/social-profiles-unconfigured.phtml',
250
-            'auth/form/user-info-container' => __DIR__ . '/../view/form/user-info-container.phtml',
251
-            'auth/form/user-status-container' => __DIR__ . '/../view/form/user-status-container.phtml',
252
-            'auth/form/userselect' => __DIR__ . '/../view/form/userselect.phtml',
253
-            'auth/form/social-profiles-fieldset' => __DIR__ . '/../view/form/social-profiles-fieldset.phtml',
254
-            'auth/form/social-profiles-button' => __DIR__ . '/../view/form/social-profiles-button.phtml',
255
-            'auth/sidebar/groups-menu' => __DIR__ . '/../view/sidebar/groups-menu.phtml',
256
-            'mail/first-external-login' => __DIR__ . '/../view/mail/first-external-login.phtml',
257
-            'mail/first-socialmedia-login' => __DIR__ . '/../view/mail/first-socialmedia-login.phtml',
258
-            'mail/forgotPassword' =>  __DIR__ . '/../view/mail/forgot-password.phtml',
259
-            'mail/register' =>  __DIR__ . '/../view/mail/register.phtml',
245
+            'form/auth/contact.form' => __DIR__.'/../view/form/contact.form.phtml',
246
+            'form/auth/contact.view' => __DIR__.'/../view/form/contact.view.phtml',
247
+            'form/auth/status.form' => __DIR__.'/../view/form/status.form.phtml',
248
+            'form/auth/status.view' => __DIR__.'/../view/form/status.view.phtml',
249
+            'auth/error/social-profiles-unconfigured' => __DIR__.'/../view/error/social-profiles-unconfigured.phtml',
250
+            'auth/form/user-info-container' => __DIR__.'/../view/form/user-info-container.phtml',
251
+            'auth/form/user-status-container' => __DIR__.'/../view/form/user-status-container.phtml',
252
+            'auth/form/userselect' => __DIR__.'/../view/form/userselect.phtml',
253
+            'auth/form/social-profiles-fieldset' => __DIR__.'/../view/form/social-profiles-fieldset.phtml',
254
+            'auth/form/social-profiles-button' => __DIR__.'/../view/form/social-profiles-button.phtml',
255
+            'auth/sidebar/groups-menu' => __DIR__.'/../view/sidebar/groups-menu.phtml',
256
+            'mail/first-external-login' => __DIR__.'/../view/mail/first-external-login.phtml',
257
+            'mail/first-socialmedia-login' => __DIR__.'/../view/mail/first-socialmedia-login.phtml',
258
+            'mail/forgotPassword' =>  __DIR__.'/../view/mail/forgot-password.phtml',
259
+            'mail/register' =>  __DIR__.'/../view/mail/register.phtml',
260 260
         ),
261 261
     
262 262
         'template_path_stack' => array(
263
-            'Auth' => __DIR__ . '/../view',
263
+            'Auth' => __DIR__.'/../view',
264 264
         ),
265 265
     ),
266 266
     
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
                     'Auth/Users' => 'switch',
209 209
                 ),
210 210
                 'deny' => array(
211
-                   // 'route/lang/auth',
211
+                    // 'route/lang/auth',
212 212
                     'route/auth-provider',
213 213
                     'route/auth-extern',
214 214
                     'route/lang/forgot-password',
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
         'factories' => array(
291 291
             'auth' => '\Auth\Factory\View\Helper\AuthFactory',
292 292
             'acl'  => '\Acl\Factory\View\Helper\AclFactory',
293
-         ),
293
+            ),
294 294
     ),
295 295
     
296 296
     'form_elements' => array(
Please login to merge, or discard this patch.