Completed
Push — develop ( 4bd203...a628f2 )
by
unknown
08:09
created
module/Auth/config/module.config.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
                     'Auth/Users' => 'switch',
215 215
                 ],
216 216
                 'deny' => [
217
-                   // 'route/lang/auth',
217
+                    // 'route/lang/auth',
218 218
                     'route/auth-provider',
219 219
                     'route/auth-extern',
220 220
                     'route/lang/forgot-password',
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
         'factories' => [
300 300
             'auth' => '\Auth\Factory\View\Helper\AuthFactory',
301 301
             'acl'  => '\Acl\Factory\View\Helper\AclFactory',
302
-         ],
302
+            ],
303 303
     ],
304 304
     
305 305
     'form_elements' => [
Please login to merge, or discard this patch.
Spacing   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
                  * for multiple paths.
37 37
                  * example https://github.com/doctrine/DoctrineORMModule
38 38
                  */
39
-                'paths' => [ __DIR__ . '/../src/Auth/Entity'],
39
+                'paths' => [__DIR__.'/../src/Auth/Entity'],
40 40
             ],
41 41
         ],
42 42
     ],
@@ -114,13 +114,13 @@  discard block
 block discarded – undo
114 114
     'hybridauth' => [
115 115
         "Facebook" => [
116 116
             "enabled" => true,
117
-            "keys"    => [ "id" => "", "secret" => "" ],
117
+            "keys"    => ["id" => "", "secret" => ""],
118 118
             "scope"      => 'email, user_about_me, user_birthday, user_hometown, user_website',
119 119
             "display" => 'popup',
120 120
         ],
121 121
         "LinkedIn" => [
122 122
             "enabled" => true,
123
-            "keys"    => [ "key" => "", "secret" => "" ],
123
+            "keys"    => ["key" => "", "secret" => ""],
124 124
         ],
125 125
         "XING" => [
126 126
             "enabled" => true,
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
                 'class' => 'Hybrid_Providers_XING',
131 131
                 'path' => __FILE__,
132 132
             ],
133
-            "keys"    => [ "key" => "", "secret" => "" ],
133
+            "keys"    => ["key" => "", "secret" => ""],
134 134
         ],
135 135
         "Github" => [
136 136
             "enabled" => true,
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
                 'class' => 'Hybrid_Providers_Github',
141 141
                 'path' => __FILE__,
142 142
             ],
143
-            "keys"    => [ "key" => "", "secret" => "" ],
143
+            "keys"    => ["key" => "", "secret" => ""],
144 144
         ],
145 145
 
146 146
     ],
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
         'translation_file_patterns' => [
244 244
             [
245 245
                 'type'     => 'gettext',
246
-                'base_dir' => __DIR__ . '/../language',
246
+                'base_dir' => __DIR__.'/../language',
247 247
                 'pattern'  => '%s.mo',
248 248
             ],
249 249
         ],
@@ -252,28 +252,28 @@  discard block
 block discarded – undo
252 252
     // Configure the view service manager
253 253
     'view_manager' => [
254 254
         'template_map' => [
255
-            'form/auth/contact.form' => __DIR__ . '/../view/form/contact.form.phtml',
256
-            'form/auth/contact.view' => __DIR__ . '/../view/form/contact.view.phtml',
257
-            'form/auth/status.form' => __DIR__ . '/../view/form/status.form.phtml',
258
-            'form/auth/status.view' => __DIR__ . '/../view/form/status.view.phtml',
259
-            'auth/error/social-profiles-unconfigured' => __DIR__ . '/../view/error/social-profiles-unconfigured.phtml',
260
-            'auth/form/user-info-container' => __DIR__ . '/../view/form/user-info-container.phtml',
261
-            'auth/form/user-status-container' => __DIR__ . '/../view/form/user-status-container.phtml',
262
-            'auth/form/userselect' => __DIR__ . '/../view/form/userselect.phtml',
263
-            'auth/form/social-profiles-fieldset' => __DIR__ . '/../view/form/social-profiles-fieldset.phtml',
264
-            'auth/form/social-profiles-button' => __DIR__ . '/../view/form/social-profiles-button.phtml',
265
-            'auth/sidebar/groups-menu' => __DIR__ . '/../view/sidebar/groups-menu.phtml',
266
-            'mail/first-external-login' => __DIR__ . '/../view/mail/first-external-login.phtml',
267
-            'mail/first-socialmedia-login' => __DIR__ . '/../view/mail/first-socialmedia-login.phtml',
268
-            'mail/forgotPassword' =>  __DIR__ . '/../view/mail/forgot-password.phtml',
269
-            'mail/forgotPassword.en' =>  __DIR__ . '/../view/mail/forgot-password.en.phtml',
270
-            'mail/register' =>  __DIR__ . '/../view/mail/register.phtml',
271
-            'auth/mail/new-registration.en' => __DIR__ . '/../view/mail/new-registration.en.phtml',
272
-            'auth/mail/user-confirmed.en' => __DIR__ . '/../view/mail/user-confirmed.en.phtml',
255
+            'form/auth/contact.form' => __DIR__.'/../view/form/contact.form.phtml',
256
+            'form/auth/contact.view' => __DIR__.'/../view/form/contact.view.phtml',
257
+            'form/auth/status.form' => __DIR__.'/../view/form/status.form.phtml',
258
+            'form/auth/status.view' => __DIR__.'/../view/form/status.view.phtml',
259
+            'auth/error/social-profiles-unconfigured' => __DIR__.'/../view/error/social-profiles-unconfigured.phtml',
260
+            'auth/form/user-info-container' => __DIR__.'/../view/form/user-info-container.phtml',
261
+            'auth/form/user-status-container' => __DIR__.'/../view/form/user-status-container.phtml',
262
+            'auth/form/userselect' => __DIR__.'/../view/form/userselect.phtml',
263
+            'auth/form/social-profiles-fieldset' => __DIR__.'/../view/form/social-profiles-fieldset.phtml',
264
+            'auth/form/social-profiles-button' => __DIR__.'/../view/form/social-profiles-button.phtml',
265
+            'auth/sidebar/groups-menu' => __DIR__.'/../view/sidebar/groups-menu.phtml',
266
+            'mail/first-external-login' => __DIR__.'/../view/mail/first-external-login.phtml',
267
+            'mail/first-socialmedia-login' => __DIR__.'/../view/mail/first-socialmedia-login.phtml',
268
+            'mail/forgotPassword' =>  __DIR__.'/../view/mail/forgot-password.phtml',
269
+            'mail/forgotPassword.en' =>  __DIR__.'/../view/mail/forgot-password.en.phtml',
270
+            'mail/register' =>  __DIR__.'/../view/mail/register.phtml',
271
+            'auth/mail/new-registration.en' => __DIR__.'/../view/mail/new-registration.en.phtml',
272
+            'auth/mail/user-confirmed.en' => __DIR__.'/../view/mail/user-confirmed.en.phtml',
273 273
         ],
274 274
     
275 275
         'template_path_stack' => [
276
-            'Auth' => __DIR__ . '/../view',
276
+            'Auth' => __DIR__.'/../view',
277 277
         ],
278 278
     ],
279 279
     
@@ -339,9 +339,9 @@  discard block
 block discarded – undo
339 339
             'service' => 'Core/EventManager',
340 340
             'event' => AuthEvent::class,
341 341
             'listeners' => [
342
-                Listener\MailForgotPassword::class => [ AuthEvent::EVENT_AUTH_NEWPASSWORD, 10, true ],
342
+                Listener\MailForgotPassword::class => [AuthEvent::EVENT_AUTH_NEWPASSWORD, 10, true],
343 343
                 Listener\SendRegistrationNotifications::class => [
344
-                    [ AuthEvent::EVENT_USER_REGISTERED, AuthEvent::EVENT_USER_CONFIRMED ],
344
+                    [AuthEvent::EVENT_USER_REGISTERED, AuthEvent::EVENT_USER_CONFIRMED],
345 345
                     true
346 346
                 ],
347 347
             ],
Please login to merge, or discard this patch.
module/Core/src/Core/Mail/HTMLTemplateMessage.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
      */
221 221
     public function renderBodyText($force = true)
222 222
     {
223
-        if (!$this->renderedBody || $force ) {
223
+        if (!$this->renderedBody || $force) {
224 224
             $viewModel    = new ViewModel();
225 225
             $response     = new Response();
226 226
             $body         = parent::getBodyText();
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
             }
230 230
 
231 231
             /* @var \Zend\Mvc\View\Http\ViewManager $viewManager */
232
-            $viewManager  = $this->serviceManager->get('viewManager');
232
+            $viewManager = $this->serviceManager->get('viewManager');
233 233
             $resolver = $this->serviceManager->get('viewResolver');
234 234
 
235 235
             /* @var \Zend\Mvc\MvcEvent $event */
@@ -237,13 +237,13 @@  discard block
 block discarded – undo
237 237
             $lang = $event->getRouteMatch()->getParam('lang');
238 238
 
239 239
 
240
-            if ($resolver->resolve($this->getTemplate() . '.' . $lang)) {
241
-                $viewModel->setTemplate($this->getTemplate() . '.' . $lang);
242
-            }else{
240
+            if ($resolver->resolve($this->getTemplate().'.'.$lang)) {
241
+                $viewModel->setTemplate($this->getTemplate().'.'.$lang);
242
+            } else {
243 243
                 $viewModel->setTemplate($this->getTemplate());
244 244
             }
245 245
 
246
-            $view         = $viewManager->getView();
246
+            $view = $viewManager->getView();
247 247
 
248 248
             $viewModel->setVariables($this->getVariables());
249 249
             $viewModel->setVariable('mail', $this);
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
 
240 240
             if ($resolver->resolve($this->getTemplate() . '.' . $lang)) {
241 241
                 $viewModel->setTemplate($this->getTemplate() . '.' . $lang);
242
-            }else{
242
+            } else{
243 243
                 $viewModel->setTemplate($this->getTemplate());
244 244
             }
245 245
 
Please login to merge, or discard this patch.