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.
Completed
Branch master (9014c2)
by Benjamin
06:05
created
examples/slim/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
 $app->get(
34 34
     '/',
35
-    function () {
35
+    function() {
36 36
         echo sprintf(
37 37
             '<a href="%s/%s">%s</a>',
38 38
             '/slim/fail',
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
 $app->get(
46 46
     '/fail/:id',
47
-    function ($id) {
47
+    function($id) {
48 48
         throw new Exception('bleh! ' . $id);
49 49
     }
50 50
 );
Please login to merge, or discard this patch.
lib/Honeybadger/Backtrace.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
         return implode(
103 103
             "\n",
104 104
             array_map(
105
-                function ($line) {
105
+                function($line) {
106 106
                     return (string)$line;
107 107
                 },
108 108
                 $this->lines
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     public function asArray()
119 119
     {
120 120
         return array_map(
121
-            function ($line) {
121
+            function($line) {
122 122
                 return $line->toArray();
123 123
             },
124 124
             $this->lines
Please login to merge, or discard this patch.
lib/Honeybadger/Sender.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function __construct($guzzleFactory)
34 34
     {
35
-      $this->guzzleFactory = $guzzleFactory;
35
+        $this->guzzleFactory = $guzzleFactory;
36 36
     }
37 37
 
38 38
     /**
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         $response = $client->post(
96 96
             self::NOTICES_URI,
97 97
             ['headers' => $headers,
98
-             'body'    => $data]
98
+                'body'    => $data]
99 99
         );
100 100
 
101 101
         if ($response->getStatusCode() != 201) {
Please login to merge, or discard this patch.
lib/Honeybadger/Environment.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     public function host()
128 128
     {
129 129
         if (!empty($this['HTTP_HOST'])) {
130
-            $host =  $this['HTTP_HOST'];
130
+            $host = $this['HTTP_HOST'];
131 131
         } else {
132 132
             $host = $this['SERVER_NAME'];
133 133
         }
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
      */
356 356
     private function httpEnvironment()
357 357
     {
358
-        return Arr::filterKeys($_SERVER, function ($key) {
358
+        return Arr::filterKeys($_SERVER, function($key) {
359 359
             return strpos($key, 'HTTP_') === 0;
360 360
         });
361 361
     }
@@ -365,8 +365,8 @@  discard block
 block discarded – undo
365 365
      */
366 366
     private function filteredEnvironment($environment)
367 367
     {
368
-        return Arr::filterKeys($environment, function ($key) {
369
-            return ! in_array($key, Honeybadger::$config->filter_keys);
368
+        return Arr::filterKeys($environment, function($key) {
369
+            return !in_array($key, Honeybadger::$config->filter_keys);
370 370
         });
371 371
     }
372 372
 }
Please login to merge, or discard this patch.
lib/Honeybadger/GuzzleFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 
7 7
 class GuzzleFactory
8 8
 {
9
-  public static function make($options)
10
-  {
9
+    public static function make($options)
10
+    {
11 11
     return new Client($options);
12
-  }
12
+    }
13 13
 }
Please login to merge, or discard this patch.