Passed
Push — master ( 197ef2...8f787b )
by Kevin
15:18 queued 11s
created
html/ops/db_form.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -35,10 +35,10 @@  discard block
 block discarded – undo
35 35
 start_table();
36 36
 
37 37
 switch($table){
38
-	case "platform": 
39
-		break;
40
-	case "app": 
41
-		break;
38
+    case "platform": 
39
+        break;
40
+    case "app": 
41
+        break;
42 42
     case "app_version":
43 43
         print_detail_field();
44 44
         print_query_field();
@@ -89,8 +89,8 @@  discard block
 block discarded – undo
89 89
     case "user":
90 90
         print_query_field();
91 91
         break;
92
-	default:
93
-		echo "Unknown table name\n";
92
+    default:
93
+        echo "Unknown table name\n";
94 94
         exit();
95 95
 }
96 96
 
Please login to merge, or discard this patch.
html/ops/manage_special_users.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     WHERE CONVERT(special_user, DECIMAL) > 0 and prefs.userid=user.id"
39 39
 );
40 40
 for ($i=1; $i<=_mysql_num_rows($result); $i++){
41
-	$foo = _mysql_fetch_object($result);
41
+    $foo = _mysql_fetch_object($result);
42 42
     echo "<form action=\"manage_special_users_action.php\" method=\"POST\">\n";
43 43
     echo "<input type=\"hidden\" name=\"userid\" value=\"$foo->userid\"
44 44
         <tr><td>$foo->name ($foo->id)</td>
Please login to merge, or discard this patch.
html/inc/forum_db.inc 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
         $user->prefs = $prefs;
165 165
     }
166 166
     function privilege($specialbit) {
167
-         return (substr($this->special_user, $specialbit,1)==1);
167
+            return (substr($this->special_user, $specialbit,1)==1);
168 168
     }
169 169
     function update($clause) {
170 170
         $db = BoincDb::get();
Please login to merge, or discard this patch.
html/inc/util_ops.inc 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
 function print_text_field($text,$name,$value) {
64 64
     echo "$text <input type=\"text\" size=\"10\" name=\"$name\" value=\"$value\">\n"
65
-         . "<p>\n";
65
+            . "<p>\n";
66 66
 }
67 67
 
68 68
 function row($x, $y) {
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
         $db->do_query($q4);
379 379
         return 2;
380 380
     } else if (!$db->do_query($q3)) {
381
-      echo "MySQL command '$q3' failed:<br/>unable to cancel workunits and trigger transitioner.<br>\n";
381
+        echo "MySQL command '$q3' failed:<br/>unable to cancel workunits and trigger transitioner.<br>\n";
382 382
         $db->do_query($q4);
383 383
         return 3;
384 384
     }
Please login to merge, or discard this patch.
html/inc/recaptcha_loader.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,10 +11,10 @@
 block discarded – undo
11 11
 
12 12
 spl_autoload_register(function ($class) {
13 13
     if (substr($class, 0, 10) !== 'ReCaptcha\\') {
14
-      /* If the class does not lie under the "ReCaptcha" namespace,
14
+        /* If the class does not lie under the "ReCaptcha" namespace,
15 15
        * then we can exit immediately.
16 16
        */
17
-      return;
17
+        return;
18 18
     }
19 19
 
20 20
     /* All of the classes have names like "ReCaptcha\Foo", so we need
Please login to merge, or discard this patch.
html/inc/boinc_db.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -358,10 +358,10 @@
 block discarded – undo
358 358
         $db = BoincDb::get();
359 359
         return $db->enum('result', 'BoincResult', $where_clause);
360 360
     }
361
-	static function enum_fields($fields, $where_clause, $order_clause) {
361
+    static function enum_fields($fields, $where_clause, $order_clause) {
362 362
         $db = BoincDb::get();
363
-		return $db->enum_fields('result', 'BoincResult', $fields, $where_clause, $order_clause);
364
-	}
363
+        return $db->enum_fields('result', 'BoincResult', $fields, $where_clause, $order_clause);
364
+    }
365 365
     function update($clause) {
366 366
         $db = BoincDb::get();
367 367
         return $db->update($this, 'result', $clause);
Please login to merge, or discard this patch.
html/inc/profile.inc 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
     $min_credit = parse_config(get_config(), "<profile_min_credit>");
192 192
     if (!$logged_in_user && $min_credit && $user->expavg_credit < $min_credit ) {
193 193
         error_page(
194
-           tra("To prevent spam, profiles of users with an average credit of less than %1 are displayed only to logged-in users. We apologize for this inconvenience.", $min_credit)
194
+            tra("To prevent spam, profiles of users with an average credit of less than %1 are displayed only to logged-in users. We apologize for this inconvenience.", $min_credit)
195 195
         );
196 196
     }
197 197
     if (is_banished($user)) {
Please login to merge, or discard this patch.
html/inc/wap.inc 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
     header("Expires: Thu, 01 Jan 1970 00:00:00 GMT");
24 24
 
25 25
     echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>"
26
-     . "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" "
27
-     . "\"http://www.wapforum.org/DTD/wml_1.2.xml\">"
28
-     . "<wml><card id=\"cd1\"><p>";
26
+        . "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" "
27
+        . "\"http://www.wapforum.org/DTD/wml_1.2.xml\">"
28
+        . "<wml><card id=\"cd1\"><p>";
29 29
 }
30 30
 
31 31
 function wap_end() {
@@ -33,6 +33,6 @@  discard block
 block discarded – undo
33 33
 }
34 34
 
35 35
 function wap_timestamp() {
36
-  return gmdate('j M Y G:i:s', time()) . " UTC";
36
+    return gmdate('j M Y G:i:s', time()) . " UTC";
37 37
 }
38 38
 ?>
Please login to merge, or discard this patch.
html/inc/cache.inc 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
                 }
100 100
             }
101 101
         }
102
-       @closedir($handle);
102
+        @closedir($handle);
103 103
     }
104 104
     chdir($start_dir);
105 105
 } 
Please login to merge, or discard this patch.