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 (#101)
by TJ
07:49
created
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.