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.
Completed
Push — master ( 37b2fb...37b2fb )
by Danger
02:22
created
applications/workspace/test/Tests/UserTest.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 {
10 10
     use AbstractAppTest;
11 11
 
12
-    public function testGetUser(){
12
+    public function testGetUser() {
13 13
         $schema = __DIR__.'/../../../../api/schemas/userInfo.json';
14 14
 
15 15
         $client = $this->createClient();
@@ -26,11 +26,11 @@  discard block
 block discarded – undo
26 26
         $this->assertTrue($assert);
27 27
     }
28 28
 
29
-    public function testPostBadge(){
29
+    public function testPostBadge() {
30 30
         $client = $this->createClient();
31 31
         $client = $this->logIn($client);
32 32
 
33
-        $badge_id=5;
33
+        $badge_id = 5;
34 34
 
35 35
         $badge = '{
36 36
               "id": '.$badge_id.'
@@ -45,10 +45,10 @@  discard block
 block discarded – undo
45 45
             $badge);
46 46
 
47 47
         $response = $client->getResponse();
48
-        $this->assertEquals(200,$response->getStatusCode());
48
+        $this->assertEquals(200, $response->getStatusCode());
49 49
         return $badge_id;
50 50
     }
51
-    public function testGetBadge(){
51
+    public function testGetBadge() {
52 52
         $schema = __DIR__.'/../../../../api/schemas/badgeUser.json';
53 53
 
54 54
         $badge_id = $this->testPostBadge();
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         $this->assertTrue($assert);
69 69
     }
70 70
 
71
-    public function testDeleteBadge(){
71
+    public function testDeleteBadge() {
72 72
         $client = $this->createClient();
73 73
         $client = $this->logIn($client);
74 74
 
@@ -83,11 +83,11 @@  discard block
 block discarded – undo
83 83
             '');
84 84
 
85 85
         $response = $client->getResponse();
86
-        $this->assertEquals(204,$response->getStatusCode());
86
+        $this->assertEquals(204, $response->getStatusCode());
87 87
         return $badge_id;
88 88
     }
89 89
 
90
-    public function testPostBadgeCompleted(){
90
+    public function testPostBadgeCompleted() {
91 91
         $client = $this->createClient();
92 92
         $client = $this->logIn($client);
93 93
 
@@ -102,11 +102,11 @@  discard block
 block discarded – undo
102 102
             '');
103 103
 
104 104
         $response = $client->getResponse();
105
-        $this->assertEquals(204,$response->getStatusCode());
105
+        $this->assertEquals(204, $response->getStatusCode());
106 106
         return $badge_id;
107 107
     }
108 108
 
109
-    public function testGetUserTicket(){
109
+    public function testGetUserTicket() {
110 110
         $schema = __DIR__.'/../../../../api/schemas/ticketList.json';
111 111
 
112 112
         $client = $this->createClient();
Please login to merge, or discard this patch.
src/BitPrepared/Bundle/D1b0Workspace/Controller/V1/UserController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
         return JsonResponse::create($res, 200, $headers)->setSharedMaxAge(300);
155 155
     }
156 156
     public function markBadgeAsCompleted($id, $id_badge, Request $request) {
157
-        $userbadge = R::findOne('userbadge',"WHERE user = ? AND badge = ?",[$id,$id_badge]);
157
+        $userbadge = R::findOne('userbadge', "WHERE user = ? AND badge = ?", [$id, $id_badge]);
158 158
         $userbadge->user = $id;
159 159
         $userbadge->badge = $id_badge;
160 160
         $userbadge->updatetime = date($this->DATE_FORMAT);
Please login to merge, or discard this patch.