Completed
Push — master ( 0fcbd7...799d43 )
by Clinton
04:59
created
src/config.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,11 +9,11 @@
 block discarded – undo
9 9
 $config = Config::getInstance();
10 10
 
11 11
 $config->setAll([
12
-	'debug' => true,
13
-	'siteName' => 'Project Base',
12
+    'debug' => true,
13
+    'siteName' => 'Project Base',
14 14
 
15
-	// Project settings
16
-	'projectDir' => $projectDir
15
+    // Project settings
16
+    'projectDir' => $projectDir
17 17
 ]);
18 18
 
19 19
 if (file_exists($projectDir . '/config.json'))
Please login to merge, or discard this patch.
src/classes/Tools.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,6 +47,6 @@
 block discarded – undo
47 47
 
48 48
     public static function output($text)
49 49
     {
50
-        echo date('Y-m-d H:i:s')." > $text\n";
50
+        echo date('Y-m-d H:i:s') . " > $text\n";
51 51
     }
52 52
 }
Please login to merge, or discard this patch.
src/twig.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 $loader = new \Twig_Loader_Filesystem($path);
14 14
 
15 15
 $twig = new \Twig_Environment($loader, [
16
-		'cache' => $config->get('cachePath', $config->get('projectDir') . '/cache/twig'),
17
-		'debug' => $config->get('debug', false),
16
+        'cache' => $config->get('cachePath', $config->get('projectDir') . '/cache/twig'),
17
+        'debug' => $config->get('debug', false),
18 18
 ]);
19 19
 
20 20
 $view = new Render($twig);
Please login to merge, or discard this patch.
src/controller/auth/eve/callback.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@  discard block
 block discarded – undo
18 18
 
19 19
         $url = 'https://login.eveonline.com/oauth/token';
20 20
         $verify_url = 'https://login.eveonline.com/oauth/verify';
21
-        $header = 'Authorization: Basic '.base64_encode($clientID . ':' . $clientSecret);
21
+        $header = 'Authorization: Basic ' . base64_encode($clientID . ':' . $clientSecret);
22 22
         $fields_string = '';
23 23
         $fields = array(
24 24
                 'grant_type' => 'authorization_code',
25 25
                 'code' => filter_input(INPUT_GET, 'code'),
26 26
                 );
27 27
         foreach ($fields as $key => $value) {
28
-            $fields_string .= $key.'='.$value.'&';
28
+            $fields_string .= $key . '=' . $value . '&';
29 29
         }
30 30
         rtrim($fields_string, '&');
31 31
         $ch = curl_init();
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         $refresh_token = $json['refresh_token'];
50 50
         $ch = curl_init();
51 51
         // Get the Character details from SSO
52
-        $header = 'Authorization: Bearer '.$access_token;
52
+        $header = 'Authorization: Bearer ' . $access_token;
53 53
         curl_setopt($ch, CURLOPT_URL, $verify_url);
54 54
         curl_setopt($ch, CURLOPT_USERAGENT, Config::getInstance()->get("siteName"));
55 55
         curl_setopt($ch, CURLOPT_HTTPHEADER, array($header));
Please login to merge, or discard this patch.