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
Pull Request — master (#89)
by TJ
04:02
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);
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
     private function parseArgs(array $args) : array
99 99
     {
100
-        return array_map(function ($arg) {
100
+        return array_map(function($arg) {
101 101
             if (is_object($arg)) {
102 102
                 return get_class($arg);
103 103
             }
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     private function contextWithoutFile(array $frame) : array
114 114
     {
115
-        if (! empty($frame['class'])) {
115
+        if (!empty($frame['class'])) {
116 116
             $filename = sprintf('%s%s%s', $frame['class'], $frame['type'], $frame['function']);
117 117
 
118 118
             try {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             } catch (ReflectionException $e) {
122 122
                 // Forget it if we run into errors, it's not worth it.
123 123
             }
124
-        } elseif (! empty($frame['function'])) {
124
+        } elseif (!empty($frame['function'])) {
125 125
             $filename = sprintf('%s(anonymous)', $frame['function']);
126 126
         } else {
127 127
             $filename = sprintf('(anonymous)');
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
         return [
148 148
             'source' => (new FileSource($frame['file'], $frame['line']))->getSource(),
149 149
             'file' => $frame['file'],
150
-            'number' => (string) $frame['line'],
150
+            'number' => (string)$frame['line'],
151 151
         ];
152 152
     }
153 153
 }
Please login to merge, or discard this patch.