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/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/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/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.
src/LogHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     protected function write(array $record)
34 34
     {
35
-        $this->honeybadger->rawNotification(function ($config) use ($record) {
35
+        $this->honeybadger->rawNotification(function($config) use ($record) {
36 36
             return [
37 37
                 'notifier' => array_merge($config['notifier'], ['name' => 'Honeybadger Log Handler']),
38 38
                 'error' => [
Please login to merge, or discard this patch.
src/Honeybadger.php 1 patch
Spacing   +5 added lines, -5 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 $additionalParams = []) : array
62 62
     {
63
-        if (! $this->shouldReport($throwable)) {
63
+        if (!$this->shouldReport($throwable)) {
64 64
             return [];
65 65
         }
66 66
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      */
76 76
     public function customNotification(array $payload) : array
77 77
     {
78
-        if (empty($this->config['api_key']) || ! $this->config['report_data']) {
78
+        if (empty($this->config['api_key']) || !$this->config['report_data']) {
79 79
             return [];
80 80
         }
81 81
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      */
91 91
     public function rawNotification(callable $callable) : array
92 92
     {
93
-        if (empty($this->config['api_key']) || ! $this->config['report_data']) {
93
+        if (empty($this->config['api_key']) || !$this->config['report_data']) {
94 94
             return [];
95 95
         }
96 96
 
@@ -167,8 +167,8 @@  discard block
 block discarded – undo
167 167
      */
168 168
     private function shouldReport(Throwable $throwable) : bool
169 169
     {
170
-        return ! $this->excludedException($throwable)
171
-            && ! empty($this->config['api_key'])
170
+        return !$this->excludedException($throwable)
171
+            && !empty($this->config['api_key'])
172 172
             && $this->config['report_data'];
173 173
     }
174 174
 }
Please login to merge, or discard this patch.