Completed
Push — master ( 5a8583...d6f879 )
by Grant
12:34 queued 10s
created
public_html/tc/services/Content.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             $json = json_encode($result, JSON_PRETTY_PRINT);
37 37
             header("Content-length:" . strlen($json));
38 38
             echo($json);
39
-            }else {
39
+            } else {
40 40
                 $result = array();
41 41
                 $json = json_encode($result, JSON_PRETTY_PRINT);
42 42
                 echo($json);
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
                 $json = json_encode($result, JSON_PRETTY_PRINT);
52 52
                 header("Content-length:" . strlen($json));
53 53
                 echo($json);
54
-            }else {
54
+            } else {
55 55
                 $result = array();
56 56
                 $json = json_encode($result, JSON_PRETTY_PRINT);
57 57
                 echo($json);
Please login to merge, or discard this patch.
public_html/tc/services/ManagerProfile.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,11 +40,11 @@
 block discarded – undo
40 40
                 if ($result === false) {
41 41
                     header('HTTP/1.0 404 Not Found');
42 42
                     echo json_encode(array("failed" => "Manager Profile does not exist for specified user"), JSON_FORCE_OBJECT);
43
-                }else {
43
+                } else {
44 44
                     $json = json_encode($result, JSON_PRETTY_PRINT);
45 45
                     echo($json);
46 46
                 }
47
-            }else {
47
+            } else {
48 48
                 $result = array();
49 49
                 $json = json_encode($result, JSON_PRETTY_PRINT);
50 50
                 echo($json);
Please login to merge, or discard this patch.
public_html/tc/services/Lookup.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
                 $result = LookupController::getLookupDataByLocaleAndType($locale, $lookupType);
35 35
                 $json = json_encode($result, JSON_PRETTY_PRINT);
36 36
                 echo($json);
37
-            }else {
37
+            } else {
38 38
                 $result = array();
39 39
                 $json = json_encode($result, JSON_PRETTY_PRINT);
40 40
                 echo($json);
Please login to merge, or discard this patch.
public_html/tc/utils/SpecialCharacterHandler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@
 block discarded – undo
4 4
  * Summary: removes special characters for inserting tab title in Excel Spreadsheets
5 5
  */
6 6
 
7
-class SpecialCharacterHandler{
7
+class SpecialCharacterHandler {
8 8
 	
9 9
     /**
10 10
      * @param string $string
11 11
      * @return string $fixedString
12 12
      */
13
-    public function removeSpecialCharacters($string){
14
-        $forbiddenCharacters = array("*","/","\\","?","[","]");
13
+    public function removeSpecialCharacters($string) {
14
+        $forbiddenCharacters = array("*", "/", "\\", "?", "[", "]");
15 15
         $fixedString = str_replace($forbiddenCharacters, "", $string);
16 16
         return $fixedString;
17 17
     }
Please login to merge, or discard this patch.
public_html/admin/index.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         }
62 62
         header("Refresh:0; url=\"" . REDIRECT_URI_ADMIN . "\"");
63 63
     }
64
-}else {
64
+} else {
65 65
     $_SESSION['openid_connect_state'] = $state;
66 66
     $_SESSION['openid_connect_nonce'] = $nonce;
67 67
 }
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
                 echo("UserAPI.storeSessionUser(" . json_encode($userInfo) . ");");
108 108
                 echo("UserAPI.login(true);");
109 109
             }
110
-            }else {
110
+            } else {
111 111
                 echo("UserAPI.login(false);");
112 112
             }
113 113
         //var isExistingUser = UserAPI.authenticate(UserAPI.getSessionUserAsJSON());
Please login to merge, or discard this patch.