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 ( 37971c...08e2d4 )
by Danger
02:35
created
applications/workspace/test/Tests/WorkspaceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     use AbstractAppTest;
11 11
 
12
-    public function testGetWorkspaceList(){
12
+    public function testGetWorkspaceList() {
13 13
         $schema = __DIR__.'/../../../../api/schemas/workspaceList.json';
14 14
 
15 15
         //$client = $this->createClient();
Please login to merge, or discard this patch.
applications/workspace/test/Tests/AbstractAppTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         if ($validator->isValid()) {
57 57
             echo "The supplied JSON validates against the schema.\n";
58 58
             $assert = true;
59
-        } else {
59
+        }else {
60 60
             echo "JSON does not validate. Violations:\n";
61 61
             foreach ($validator->getErrors() as $error) {
62 62
                 echo "[{$error['property']}] {$error['message']}\n";
Please login to merge, or discard this patch.
applications/workspace/test/Tests/WorkspaceCheckinTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@  discard block
 block discarded – undo
10 10
     use AbstractAppTest;
11 11
 
12 12
 
13
-    public function testPostWorkspaceCheck(){
13
+    public function testPostWorkspaceCheck() {
14 14
         $blob = $this->testPostWorkspacePart();
15 15
         $id = $blob[0];
16
-        $part_id= $blob[1];
16
+        $part_id = $blob[1];
17 17
 
18 18
         print_r("FANFARA!");
19 19
         var_dump($blob);
@@ -33,15 +33,15 @@  discard block
 block discarded – undo
33 33
         $js = json_decode($data);
34 34
         $points = $js->points;
35 35
 
36
-        $this->assertTrue(is_numeric($points));  //TODO verificare che il numero sia adeguato ai punti attesi
36
+        $this->assertTrue(is_numeric($points)); //TODO verificare che il numero sia adeguato ai punti attesi
37 37
 
38
-        return [$id,$part_id];
38
+        return [$id, $part_id];
39 39
     }
40 40
 
41
-    public function testDeletePostWorkspaceCheck(){
41
+    public function testDeletePostWorkspaceCheck() {
42 42
         $blob = $this->testPostWorkspaceCheck();
43 43
         $id = $blob[0];
44
-        $part_id= $blob[1];
44
+        $part_id = $blob[1];
45 45
 
46 46
         print_r("FANFARA!");
47 47
         var_dump($blob);
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
         $response = $client->getResponse();
58 58
 
59 59
 
60
-        $this->assertEquals(204,$response->getStatusCode());  //TODO verificare che il dato non sia più presente sul server
60
+        $this->assertEquals(204, $response->getStatusCode()); //TODO verificare che il dato non sia più presente sul server
61 61
 
62
-        return [$id,$part_id];
62
+        return [$id, $part_id];
63 63
     }
64 64
 }
Please login to merge, or discard this patch.
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.
applications/workspace/test/Tests/BadgeTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,14 +9,14 @@
 block discarded – undo
9 9
 {
10 10
     use AbstractAppTest;
11 11
 
12
-    public function testGetBadgeSpecialita(){
12
+    public function testGetBadgeSpecialita() {
13 13
         $schema = __DIR__.'/../../../../api/schemas/badgeList.json';
14 14
         $client = $this->createClient();
15 15
         $client = $this->logIn($client);
16 16
 
17
-        $kind_of_badge = ['specialita','brevetti','eventi'];
17
+        $kind_of_badge = ['specialita', 'brevetti', 'eventi'];
18 18
 
19
-        foreach($kind_of_badge as $option){
19
+        foreach ($kind_of_badge as $option) {
20 20
 
21 21
             $crawler = $client->request('GET', '/api/v1/badge/?filterBy='.$option);
22 22
             $response = $client->getResponse();
Please login to merge, or discard this patch.
applications/workspace/src/App.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,10 +37,10 @@
 block discarded – undo
37 37
 // @see: https://github.com/ivoba/redbean-service-provider
38 38
 //'mysql:host=localhost;dbname=mydatabase', 'user', 'password'
39 39
 
40
-if($config['database']['type']==='sqlite'){
40
+if ($config['database']['type'] === 'sqlite') {
41 41
     $app->register(new RedBeanServiceProvider(), array('db.options' => array('dsn' => 'sqlite:'.$config['database']['host'])));
42 42
 }
43
-if($config['database']['type']==='mysql'){
43
+if ($config['database']['type'] === 'mysql') {
44 44
     $app->register(new RedBeanServiceProvider(), ['db.options' =>
45 45
                                                     [
46 46
                                                         'dsn' => 'mysql:'.$config['database']['host'].';dbname='.$config['database']['dbname'],
Please login to merge, or discard this patch.