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 ( 88c052...ed9db1 )
by Nathan
10s
created
src/Formats/XML.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
         foreach ($ns as $nsName => $nsUri) {
45 45
             foreach ($xml->attributes($nsUri) as $attName => $attValue) {
46
-                if ( ! empty($nsName)) {
46
+                if (!empty($nsName)) {
47 47
                     $attName = "{$nsName}:{$attName}";
48 48
                 }
49 49
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             }
52 52
 
53 53
             foreach ($xml->children($nsUri) as $childName => $child) {
54
-                if ( ! empty($nsName)) {
54
+                if (!empty($nsName)) {
55 55
                     $childName = "{$nsName}:{$childName}";
56 56
                 }
57 57
 
Please login to merge, or discard this patch.
src/Formats/MSGPack.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -26,18 +26,18 @@  discard block
 block discarded – undo
26 26
     {
27 27
         if (function_exists('msgpack_unpack')) {
28 28
             if ($payload) {
29
-                $prevHandler = set_error_handler(function ($errno, $errstr, $errfile, $errline, $errcontext) {
30
-                    throw new \Exception($errstr);  // @codeCoverageIgnore
29
+                $prevHandler = set_error_handler(function($errno, $errstr, $errfile, $errline, $errcontext) {
30
+                    throw new \Exception($errstr); // @codeCoverageIgnore
31 31
                 });
32 32
 
33 33
                 try {
34 34
                     $msg = msgpack_unpack(trim($payload));
35
-                    if ( ! $msg) {
36
-                        throw new \Exception('Unknown error');  // @codeCoverageIgnore
35
+                    if (!$msg) {
36
+                        throw new \Exception('Unknown error'); // @codeCoverageIgnore
37 37
                     }
38 38
                 } catch (\Exception $e) {
39 39
                     set_error_handler($prevHandler);
40
-                    throw new ParserException('Failed To Parse MSGPack - ' . $e->getMessage());
40
+                    throw new ParserException('Failed To Parse MSGPack - '.$e->getMessage());
41 41
                 }
42 42
 
43 43
                 set_error_handler($prevHandler);
@@ -47,6 +47,6 @@  discard block
 block discarded – undo
47 47
             return [];
48 48
         }
49 49
 
50
-        throw new ParserException('Failed To Parse MSGPack - Supporting Library Not Available');  // @codeCoverageIgnore
50
+        throw new ParserException('Failed To Parse MSGPack - Supporting Library Not Available'); // @codeCoverageIgnore
51 51
     }
52 52
 }
Please login to merge, or discard this patch.