Passed
Pull Request — master (#631)
by ANTHONIUS
08:16
created
etc/gitlab/autoload/module.auth.local.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -7,36 +7,36 @@  discard block
 block discarded – undo
7 7
 
8 8
 return array(
9 9
 	'hybridauth' => array(
10
-        "Facebook" => array ( 
10
+        "Facebook" => array( 
11 11
             "enabled" => true,
12
-            "keys"    => array ( "id" => $FACEBOOK_APP_ID, "secret" => $FACEBOOK_APP_SECRET ),
13
-            "scope"   => "email, user_about_me, user_birthday, user_hometown, user_work_history, user_education_history",// optional
12
+            "keys"    => array("id" => $FACEBOOK_APP_ID, "secret" => $FACEBOOK_APP_SECRET),
13
+            "scope"   => "email, user_about_me, user_birthday, user_hometown, user_work_history, user_education_history", // optional
14 14
             "display" => "popup"
15 15
 
16 16
         ),
17
-        "LinkedIn" => array (
17
+        "LinkedIn" => array(
18 18
             "enabled" => true,
19
-            "keys"    => array ( "id" => $LINKEDIN_APP_ID, "secret" => $LINKEDIN_APP_SECRET ),
19
+            "keys"    => array("id" => $LINKEDIN_APP_ID, "secret" => $LINKEDIN_APP_SECRET),
20 20
             "scope"   => "r_basicprofile,r_emailaddress"
21 21
         ),
22 22
         "XING" => array(
23 23
             "enabled" => false,
24
-            'keys'    => array ( "key" => '###XING APP KEY###', 'secret' => '### XING APP SECRET ###'),
24
+            'keys'    => array("key" => '###XING APP KEY###', 'secret' => '### XING APP SECRET ###'),
25 25
             "scope"   => ''
26 26
         ),
27 27
         "Github" => array(
28 28
             "enabled" => false,
29
-            'keys'    => array ( "id" => '###Your GitHub AppID ###', 'secret' => '###Your GitHub Secret###'),
29
+            'keys'    => array("id" => '###Your GitHub AppID ###', 'secret' => '###Your GitHub Secret###'),
30 30
             "scope"   => ''
31 31
         ),
32 32
         "Google" => array(
33 33
              // see http://hybridauth.sourceforge.net/userguide/IDProvider_info_Google.html
34 34
              "enabled" => false,
35
-             'keys'    => array ( "id" => '###Your Google Client-ID ###', 'secret' => '###Your GitHub Secret###'),
36
-             "scope"   => "https://www.googleapis.com/auth/userinfo.profile ". // optional
37
-                          "https://www.googleapis.com/auth/userinfo.email"   , // optional
38
-             "access_type"     => "offline",   // optional
39
-             "approval_prompt" => "force",     // optional
35
+             'keys'    => array("id" => '###Your Google Client-ID ###', 'secret' => '###Your GitHub Secret###'),
36
+             "scope"   => "https://www.googleapis.com/auth/userinfo.profile ".// optional
37
+                          "https://www.googleapis.com/auth/userinfo.email", // optional
38
+             "access_type"     => "offline", // optional
39
+             "approval_prompt" => "force", // optional
40 40
         ),
41 41
 
42 42
 
@@ -47,9 +47,9 @@  discard block
 block discarded – undo
47 47
     ),
48 48
     
49 49
     'Auth' => array(
50
-    	'first_login' => array (
51
-    	    'role' => '%%role%%',                                            // role set on the first login.
52
-    	    'auth_suffix' => '%%auth.suffix%%',                              // an auth suffix is needed, if you plan to add external apps.
50
+    	'first_login' => array(
51
+    	    'role' => '%%role%%', // role set on the first login.
52
+    	    'auth_suffix' => '%%auth.suffix%%', // an auth suffix is needed, if you plan to add external apps.
53 53
     	),
54 54
     	// this allows an external application to use the YAWIK API
55 55
     	// applications[USERPOSTFIX] => AppKey
Please login to merge, or discard this patch.
etc/gitlab/autoload/MailServiceOptions.config.local.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
         'Core/MailServiceOptions' => [
16 16
             'options' => [
17 17
                 'transportClass' => 'file',
18
-                'path' => realpath(__DIR__ . '/../../build/mails')
18
+                'path' => realpath(__DIR__.'/../../build/mails')
19 19
             ],
20 20
         ],
21 21
     ]
Please login to merge, or discard this patch.