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 ( 7cb54d...804d9a )
by TJ
03:44
created
src/Environment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
      */
93 93
     private function data() : array
94 94
     {
95
-        return array_filter($this->server, function ($key) {
95
+        return array_filter($this->server, function($key) {
96 96
             return $this->autoIncludeKey($key) || in_array($key, $this->includeKeys);
97 97
         }, ARRAY_FILTER_USE_KEY);
98 98
     }
Please login to merge, or discard this patch.
src/CustomNotification.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,9 +42,9 @@
 block discarded – undo
42 42
                 ],
43 43
             ],
44 44
             ['request' => [
45
-                'context' => (object) $this->context->all(), ],
45
+                'context' => (object)$this->context->all(), ],
46 46
             ],
47
-            ['server' => (object) []]
47
+            ['server' => (object)[]]
48 48
         );
49 49
     }
50 50
 }
Please login to merge, or discard this patch.
src/FileSource.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function getSource() : array
40 40
     {
41
-        if (! $this->canReadFile()) {
41
+        if (!$this->canReadFile()) {
42 42
             return [];
43 43
         }
44 44
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     private function fileLines(SplFileObject $file) : array
85 85
     {
86 86
         $lines = [];
87
-        while (! $file->eof()) {
87
+        while (!$file->eof()) {
88 88
             $lines[] = $this->trimLine($file->fgets());
89 89
         }
90 90
 
Please login to merge, or discard this patch.
src/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function params() : array
44 44
     {
45
-        if (! $this->httpRequest()) {
45
+        if (!$this->httpRequest()) {
46 46
             return [];
47 47
         }
48 48
 
Please login to merge, or discard this patch.
src/Concerns/FiltersData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     private function filter(array $values) : array
30 30
     {
31
-        return Arr::mapWithKeys($values, function ($value, $key) {
31
+        return Arr::mapWithKeys($values, function($value, $key) {
32 32
             if (is_array($value)) {
33 33
                 return $this->filter($value);
34 34
             }
Please login to merge, or discard this patch.
src/BacktraceFactory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -83,8 +83,8 @@  discard block
 block discarded – undo
83 83
      */
84 84
     private function formatBacktrace(array $backtrace) : array
85 85
     {
86
-        return array_map(function ($frame) {
87
-            if (! array_key_exists('file', $frame)) {
86
+        return array_map(function($frame) {
87
+            if (!array_key_exists('file', $frame)) {
88 88
                 $context = $this->contextWithoutFile($frame);
89 89
             } else {
90 90
                 $context = $this->contextWithFile($frame);
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      */
103 103
     private function contextWithoutFile(array $frame) : array
104 104
     {
105
-        if (! empty($frame['class'])) {
105
+        if (!empty($frame['class'])) {
106 106
             $filename = sprintf('%s%s%s', $frame['class'], $frame['type'], $frame['function']);
107 107
 
108 108
             try {
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
             } catch (ReflectionException $e) {
112 112
                 // Forget it if we run into errors, it's not worth it.
113 113
             }
114
-        } elseif (! empty($frame['function'])) {
114
+        } elseif (!empty($frame['function'])) {
115 115
             $filename = sprintf('%s(anonymous)', $frame['function']);
116 116
         } else {
117 117
             $filename = sprintf('(anonymous)');
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
         return [
138 138
             'source' => (new FileSource($frame['file'], $frame['line']))->getSource(),
139 139
             'file' => $frame['file'],
140
-            'number' => (string) $frame['line'],
140
+            'number' => (string)$frame['line'],
141 141
         ];
142 142
     }
143 143
 }
Please login to merge, or discard this patch.
src/HoneybadgerClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
             throw (new ServiceExceptionFactory($response))->make();
52 52
         }
53 53
 
54
-        return (string) $response->getBody()
54
+        return (string)$response->getBody()
55 55
             ? json_decode($response->getBody(), true)
56 56
             : [];
57 57
     }
Please login to merge, or discard this patch.
src/Honeybadger.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     public function notify(Throwable $throwable, FoundationRequest $request = null) : array
62 62
     {
63
-        if (! $this->shouldReport($throwable)) {
63
+        if (!$this->shouldReport($throwable)) {
64 64
             return [];
65 65
         }
66 66
 
@@ -132,6 +132,6 @@  discard block
 block discarded – undo
132 132
      */
133 133
     private function shouldReport(Throwable $throwable) : bool
134 134
     {
135
-        return ! $this->excludedException($throwable) && ! is_null($this->config['api_key']);
135
+        return !$this->excludedException($throwable) && !is_null($this->config['api_key']);
136 136
     }
137 137
 }
Please login to merge, or discard this patch.
src/RawNotification.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,9 +39,9 @@
 block discarded – undo
39 39
             [],
40 40
             ['notifier' => $this->config['notifier']],
41 41
             ['error' => []],
42
-            ['request' => ['context' => (object) $this->context->all()],
42
+            ['request' => ['context' => (object)$this->context->all()],
43 43
             ],
44
-            ['server' => (object) []],
44
+            ['server' => (object)[]],
45 45
             $payload
46 46
         );
47 47
 
Please login to merge, or discard this patch.