GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( a6bbd2...6f4a54 )
by Caspar
05:53
created
app/Http/Controllers/ScanController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -74,14 +74,14 @@
 block discarded – undo
74 74
         }
75 75
 
76 76
         if(count($allPoints) == 1){
77
-        	DB::table('users')->where('id',Auth::User()->id)->limit(1)->update(['start' => Carbon::now()->toDateTimeString()]);
77
+            DB::table('users')->where('id',Auth::User()->id)->limit(1)->update(['start' => Carbon::now()->toDateTimeString()]);
78 78
         }
79 79
 
80 80
         $codeCount = CodeCount::getCodeCount();
81 81
 
82
-	    if(count($allPoints) == $codeCount){
83
-		    DB::table('users')->where('id',Auth::User()->id)->update(['end' => Carbon::now()->toDateTimeString()]);
84
-	    }
82
+        if(count($allPoints) == $codeCount){
83
+            DB::table('users')->where('id',Auth::User()->id)->update(['end' => Carbon::now()->toDateTimeString()]);
84
+        }
85 85
     }
86 86
 
87 87
     /**
Please login to merge, or discard this patch.
app/Http/Controllers/RankingController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      */
12 12
     public function showRanking()
13 13
     {
14
-    	$this->setRank();
14
+        $this->setRank();
15 15
 
16 16
         $rankObj = DB::select('SELECT first_name,scoutname,last_name,rank,total_points,start,end FROM users WHERE total_points > 0 ORDER BY rank DESC, total_points DESC;');
17 17
         $rankArray = json_decode(json_encode($rankObj), true);
@@ -21,6 +21,6 @@  discard block
 block discarded – undo
21 21
     }
22 22
 
23 23
     private function setRank(){
24
-	    DB::select('SELECT first_name,scoutname,last_name,rank,total_points,start,end FROM users WHERE total_points > 0 ORDER BY rank DESC, total_points DESC;');
24
+        DB::select('SELECT first_name,scoutname,last_name,rank,total_points,start,end FROM users WHERE total_points > 0 ORDER BY rank DESC, total_points DESC;');
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
app/Http/Controllers/CodeCount.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -7,23 +7,23 @@
 block discarded – undo
7 7
 
8 8
 class CodeCount extends Controller
9 9
 {
10
-	/**
11
-	 * Anzahl codes in DB hinterlegen.
12
-	 *
13
-	 * @param $codeCount
14
-	 *
15
-	 * @return int
16
-	 */
17
-	public static function setCodeCount($codeCount)
18
-	{
19
-		DB::table('game_admin')->insert(['code_count' => $codeCount]);
10
+    /**
11
+     * Anzahl codes in DB hinterlegen.
12
+     *
13
+     * @param $codeCount
14
+     *
15
+     * @return int
16
+     */
17
+    public static function setCodeCount($codeCount)
18
+    {
19
+        DB::table('game_admin')->insert(['code_count' => $codeCount]);
20 20
 
21
-		return intval($codeCount);
22
-	}
21
+        return intval($codeCount);
22
+    }
23 23
 
24
-	public static function getCodeCount(){
25
-		$codeCount = DB::table('game_admin')->select('code_count')->first()->code_count;
24
+    public static function getCodeCount(){
25
+        $codeCount = DB::table('game_admin')->select('code_count')->first()->code_count;
26 26
 
27
-		return $codeCount;
28
-	}
27
+        return $codeCount;
28
+    }
29 29
 }
Please login to merge, or discard this patch.