Test Failed
Pull Request — main (#32)
by
unknown
02:53
created
web/public/guide_ajax.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
         $stmt->bindParam(":username", $username);
94 94
         $stmt->execute();
95 95
     }
96
-	?>
96
+    ?>
97 97
 {'paging': null, 'feed_html': `
98 98
 <div class=\'feed-header no-metadata\'>
99 99
 	<div class=\'feed-header-thumb\'>
Please login to merge, or discard this patch.
web/public/s/classes/user_insert.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
 class user_insert {
11 11
     public $__db;
12 12
 
13
-	public function __construct($conn){
13
+    public function __construct($conn){
14 14
         $this->__db = $conn;
15
-	}
15
+    }
16 16
 
17 17
     function check_view_channel($vidid, $user) {
18 18
         $stmt = $this->__db->prepare("SELECT * FROM channel_views WHERE viewer = :user AND channel = :vidid");
Please login to merge, or discard this patch.
web/public/s/classes/user_helper.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 class user_helper {
12 12
     public $__db;
13 13
 
14
-	public function __construct($conn){
14
+    public function __construct($conn){
15 15
         $this->__db = $conn;
16
-	}
16
+    }
17 17
 
18 18
     function fetch_pfp($username) {
19 19
         $stmt = $this->__db->prepare("SELECT pfp FROM users WHERE username = :username");
Please login to merge, or discard this patch.
web/public/s/classes/user_update.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
 class user_update {
11 11
     public $__db;
12 12
 
13
-	public function __construct($conn){
13
+    public function __construct($conn){
14 14
         $this->__db = $conn;
15
-	}
15
+    }
16 16
 
17 17
     // fuck this, this can be compressed into 2 functions
18 18
 
Please login to merge, or discard this patch.
web/public/s/classes/video_updater.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
 class video_updater {
11 11
     public $__db;
12 12
 
13
-	public function __construct($conn){
13
+    public function __construct($conn){
14 14
         $this->__db = $conn;
15
-	}
15
+    }
16 16
 
17 17
     function update_row($video, $rowName, $new) {
18 18
         $stmt = $this->__db->prepare("UPDATE videos SET ".$rowName." = :new WHERE rid = :rid");
Please login to merge, or discard this patch.
web/public/s/classes/db_helper.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,13 +10,13 @@
 block discarded – undo
10 10
 *
11 11
 **/
12 12
 class db_helper {
13
-	public function __construct(){
13
+    public function __construct(){
14 14
       
15
-	}
15
+    }
16 16
 
17
-  function fetch(string $table, array $where, string $extra) {
17
+    function fetch(string $table, array $where, string $extra) {
18 18
 
19
-  }
19
+    }
20 20
 }
21 21
 
22 22
 ?>
23 23
\ No newline at end of file
Please login to merge, or discard this patch.
web/public/get/dislike_comment.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -5,17 +5,17 @@
 block discarded – undo
5 5
 <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/static/lib/new/fetch.php"); ?>
6 6
 <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/static/lib/new/insert.php"); ?>
7 7
 <?php
8
-  $_user_fetch_utils = new user_fetch_utils();
9
-  $_user_insert_utils = new user_insert_utils();
10
-  $_video_fetch_utils = new video_fetch_utils();
11
-  $_user_delete_utils = new user_delete_utils();
12
-  $_base_utils = new config_setup();
8
+    $_user_fetch_utils = new user_fetch_utils();
9
+    $_user_insert_utils = new user_insert_utils();
10
+    $_video_fetch_utils = new video_fetch_utils();
11
+    $_user_delete_utils = new user_delete_utils();
12
+    $_base_utils = new config_setup();
13 13
  
14
-  $_base_utils->initialize_db_var($conn);
15
-  $_video_fetch_utils->initialize_db_var($conn);
16
-  $_user_insert_utils->initialize_db_var($conn);
17
-  $_user_fetch_utils->initialize_db_var($conn);
18
-  $_user_delete_utils->initialize_db_var($conn);
14
+    $_base_utils->initialize_db_var($conn);
15
+    $_video_fetch_utils->initialize_db_var($conn);
16
+    $_user_insert_utils->initialize_db_var($conn);
17
+    $_user_fetch_utils->initialize_db_var($conn);
18
+    $_user_delete_utils->initialize_db_var($conn);
19 19
 ?>
20 20
 <?php
21 21
 $name = $_GET['id'];
Please login to merge, or discard this patch.
web/public/get/star.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,15 +4,15 @@
 block discarded – undo
4 4
 <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/static/lib/new/fetch.php"); ?>
5 5
 <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/static/lib/new/insert.php"); ?>
6 6
 <?php
7
-  $_user_fetch_utils = new user_fetch_utils();
8
-  $_user_insert_utils = new user_insert_utils();
9
-  $_video_fetch_utils = new video_fetch_utils();
10
-  $_base_utils = new config_setup();
7
+    $_user_fetch_utils = new user_fetch_utils();
8
+    $_user_insert_utils = new user_insert_utils();
9
+    $_video_fetch_utils = new video_fetch_utils();
10
+    $_base_utils = new config_setup();
11 11
  
12
-  $_base_utils->initialize_db_var($conn);
13
-  $_video_fetch_utils->initialize_db_var($conn);
14
-  $_user_insert_utils->initialize_db_var($conn);
15
-  $_user_fetch_utils->initialize_db_var($conn);
12
+    $_base_utils->initialize_db_var($conn);
13
+    $_video_fetch_utils->initialize_db_var($conn);
14
+    $_user_insert_utils->initialize_db_var($conn);
15
+    $_user_fetch_utils->initialize_db_var($conn);
16 16
 ?>
17 17
 <?php
18 18
 session_start();
Please login to merge, or discard this patch.
web/public/get/report.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -2,15 +2,15 @@
 block discarded – undo
2 2
 <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/static/lib/new/base.php"); ?>
3 3
 <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/static/lib/new/fetch.php"); ?>
4 4
 <?php
5
-  $_user_fetch_utils = new user_fetch_utils();
6
-  $_video_fetch_utils = new video_fetch_utils();
7
-  $_base_utils = new config_setup();
5
+    $_user_fetch_utils = new user_fetch_utils();
6
+    $_video_fetch_utils = new video_fetch_utils();
7
+    $_base_utils = new config_setup();
8 8
  
9
-  $_base_utils->initialize_db_var($conn);
10
-  $_video_fetch_utils->initialize_db_var($conn);
11
-  $_user_fetch_utils->initialize_db_var($conn);
9
+    $_base_utils->initialize_db_var($conn);
10
+    $_video_fetch_utils->initialize_db_var($conn);
11
+    $_user_fetch_utils->initialize_db_var($conn);
12 12
 
13
-  $_video = $_video_fetch_utils->fetch_video_rid($_GET['v']);
13
+    $_video = $_video_fetch_utils->fetch_video_rid($_GET['v']);
14 14
 ?>
15 15
 <?php
16 16
 //=======================================================================================================
Please login to merge, or discard this patch.