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.
Passed
Push — master ( f8a760...de8a52 )
by TJ
02:27
created
src/BacktraceFactory.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -81,8 +81,8 @@  discard block
 block discarded – undo
81 81
      */
82 82
     private function formatBacktrace(array $backtrace) : array
83 83
     {
84
-        return array_map(function ($frame) {
85
-            if (! array_key_exists('file', $frame)) {
84
+        return array_map(function($frame) {
85
+            if (!array_key_exists('file', $frame)) {
86 86
                 $context = $this->contextWithoutFile($frame);
87 87
             } else {
88 88
                 $context = $this->contextWithFile($frame);
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     private function parseArgs(array $args) : array
105 105
     {
106
-        return array_map(function ($arg) {
106
+        return array_map(function($arg) {
107 107
             if (is_object($arg)) {
108 108
                 return get_class($arg);
109 109
             }
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     private function contextWithoutFile(array $frame) : array
120 120
     {
121
-        if (! empty($frame['class'])) {
121
+        if (!empty($frame['class'])) {
122 122
             $filename = sprintf('%s%s%s', $frame['class'], $frame['type'], $frame['function']);
123 123
 
124 124
             try {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
             } catch (ReflectionException $e) {
128 128
                 // Forget it if we run into errors, it's not worth it.
129 129
             }
130
-        } elseif (! empty($frame['function'])) {
130
+        } elseif (!empty($frame['function'])) {
131 131
             $filename = sprintf('%s(anonymous)', $frame['function']);
132 132
         } else {
133 133
             $filename = sprintf('(anonymous)');
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
         return [
154 154
             'source' => (new FileSource($frame['file'], $frame['line']))->getSource(),
155 155
             'file' => $frame['file'],
156
-            'number' => (string) $frame['line'],
156
+            'number' => (string)$frame['line'],
157 157
         ];
158 158
     }
159 159
 }
Please login to merge, or discard this patch.