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 ( 7700d9...d17431 )
by Danger
02:27
created
applications/workspace/test/Tests/WorkspaceTest.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Tests;
4 4
 
5 5
 use Silex\WebTestCase;
6
-use JsonSchema\Validator;
7 6
 
8 7
 class WorkspaceTest extends WebTestCase
9 8
 {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     public function logIn($client){
13 13
         $client->request('POST',
14 14
                     '/api/v1/security/login',
15
-                     [],
15
+                        [],
16 16
                     [],
17 17
                     ['CONTENT_TYPE' => 'application/json'],
18 18
                     '{"authMode":"Email","email":"[email protected]","name":"ugo","surname":"ugo","password":"cane"}');
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 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 logIn($client){
12
+    public function logIn($client) {
13 13
         $client->request('POST',
14 14
                     '/api/v1/security/login',
15 15
                      [],
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
         return $client;
20 20
     }
21 21
 
22
-    public function testGetWorkSpace(){
22
+    public function testGetWorkSpace() {
23 23
 
24 24
         $schema = __DIR__.'/../../../../api/schemas/workspace.json';
25 25
 
@@ -33,13 +33,13 @@  discard block
 block discarded – undo
33 33
         $response = $client->getResponse();
34 34
         $data = $client->getResponse()->getContent();
35 35
 
36
-        $validator = $this->askValidation($data,$schema);
36
+        $validator = $this->askValidation($data, $schema);
37 37
 
38 38
         if ($validator->isValid()) {
39 39
 
40 40
             echo "The supplied JSON validates against the schema.\n";
41 41
             $this->assertTrue(true);
42
-        } else {
42
+        }else {
43 43
             echo "JSON does not validate. Violations:\n";
44 44
             foreach ($validator->getErrors() as $error) {
45 45
                 echo "[{$error['property']}] {$error['message']}\n";
Please login to merge, or discard this patch.
applications/workspace/test/Tests/AbstractAppTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     {
14 14
         $app = require_once __DIR__.'/../../src/App.php';
15 15
         $app['debug'] = true;
16
-         $app['session.test'] = true;
16
+            $app['session.test'] = true;
17 17
         #unset($app['exception_handler']);
18 18
         return $app;
19 19
     }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
         return $app;
19 19
     }
20 20
 
21
-    public function askValidation($data,$schema){
21
+    public function askValidation($data, $schema) {
22 22
         $validator = new \JsonSchema\Validator;
23
-        $js_schema =  (object)['$ref' => 'file://' . $schema];
23
+        $js_schema = (object)['$ref' => 'file://'.$schema];
24 24
         $validator->check(json_decode($data), $js_schema);
25 25
         return $validator;
26 26
     }
Please login to merge, or discard this patch.