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 ( d17431...91c957 )
by Danger
02:46
created
applications/workspace/test/Tests/AbstractAppTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         return $app;
21 21
     }
22 22
 
23
-    public function logIn($client){
23
+    public function logIn($client) {
24 24
         $client->request('POST',
25 25
                     '/api/v1/security/login',
26 26
                      [],
@@ -30,9 +30,9 @@  discard block
 block discarded – undo
30 30
         return $client;
31 31
     }
32 32
 
33
-    public function askValidation($data,$schema){
33
+    public function askValidation($data, $schema) {
34 34
         $validator = new \JsonSchema\Validator;
35
-        $js_schema =  (object)['$ref' => 'file://' . $schema];
35
+        $js_schema = (object)['$ref' => 'file://'.$schema];
36 36
         $validator->check(json_decode($data), $js_schema);
37 37
         return $validator;
38 38
     }
Please login to merge, or discard this patch.
applications/workspace/test/Tests/WorkspacesTest.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/WorkspaceTest.php 1 patch
Spacing   +3 added lines, -3 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 testGetWorkSpace(){
12
+    public function testGetWorkSpace() {
13 13
         $schema = __DIR__.'/../../../../api/schemas/workspace.json';
14 14
 
15 15
         $client = $this->createClient();
@@ -18,12 +18,12 @@  discard block
 block discarded – undo
18 18
         $crawler = $client->request('GET', '/api/v1/workspace/1');
19 19
         $response = $client->getResponse();
20 20
         $data = $client->getResponse()->getContent();
21
-        $validator = $this->askValidation($data,$schema);
21
+        $validator = $this->askValidation($data, $schema);
22 22
 
23 23
         if ($validator->isValid()) {
24 24
             echo "The supplied JSON validates against the schema.\n";
25 25
             $this->assertTrue(true);
26
-        } else {
26
+        }else {
27 27
             echo "JSON does not validate. Violations:\n";
28 28
             foreach ($validator->getErrors() as $error) {
29 29
                 echo "[{$error['property']}] {$error['message']}\n";
Please login to merge, or discard this patch.