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 ( 08df27...e46f40 )
by Enrico
02:27
created
src/Assert.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     public static function assertJsonMatchesSchema($schema, $content)
38 38
     {
39 39
         $retriever = new UriRetriever();
40
-        $schema = $retriever->retrieve('file://'.realpath($schema));
40
+        $schema = $retriever->retrieve('file://' . realpath($schema));
41 41
 
42 42
         // Assume references are relative to the current file
43 43
         // Create an issue or pull request if you need more complex use cases
@@ -48,10 +48,10 @@  discard block
 block discarded – undo
48 48
         $validator->check($content, $schema);
49 49
 
50 50
         $message = '- Property: %s, Contraint: %s, Message: %s';
51
-        $messages = array_map(function ($exception) use ($message) {
51
+        $messages = array_map(function($exception) use ($message) {
52 52
             return sprintf($message, $exception['property'], $exception['constraint'], $exception['message']);
53 53
         }, $validator->getErrors());
54
-        $messages[] = '- Response: '.json_encode($content);
54
+        $messages[] = '- Response: ' . json_encode($content);
55 55
 
56 56
         self::assertTrue($validator->isValid(), implode("\n", $messages));
57 57
     }
Please login to merge, or discard this patch.