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
Push — 3.x ( 7d6258...d28272 )
by Glenn
12s
created
Slim/Handlers/NotAllowed.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
         <p>Method not allowed. Must be one of: <strong>$allow</strong></p>
141 141
     </body>
142 142
 </html>
143
-END;
143
+end;
144 144
 
145 145
         return $output;
146 146
     }
Please login to merge, or discard this patch.
Slim/Route.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     /**
73 73
      * Create new route
74 74
      *
75
-     * @param string|string[]   $methods The route HTTP methods
75
+     * @param string[]   $methods The route HTTP methods
76 76
      * @param string            $pattern The route pattern
77 77
      * @param callable          $callable The route callable
78 78
      * @param RouteGroup[]      $groups The parent route groups
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use InvalidArgumentException;
13 13
 use Psr\Http\Message\ServerRequestInterface;
14 14
 use Psr\Http\Message\ResponseInterface;
15
-use Slim\Exception\SlimException;
16 15
 use Slim\Handlers\Strategies\RequestResponse;
17 16
 use Slim\Interfaces\InvocationStrategyInterface;
18 17
 use Slim\Interfaces\RouteInterface;
Please login to merge, or discard this patch.
Slim/Http/Request.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -801,7 +801,7 @@  discard block
 block discarded – undo
801 801
      * These values MAY be prepared from $_FILES or the message body during
802 802
      * instantiation, or MAY be injected via withUploadedFiles().
803 803
      *
804
-     * @return array An array tree of UploadedFileInterface instances; an empty
804
+     * @return UploadedFileInterface[] An array tree of UploadedFileInterface instances; an empty
805 805
      *     array MUST be returned if no data is present.
806 806
      */
807 807
     public function getUploadedFiles()
@@ -1134,7 +1134,7 @@  discard block
 block discarded – undo
1134 1134
      * @param string $key
1135 1135
      * @param mixed $default
1136 1136
      *
1137
-     * @return mixed
1137
+     * @return null|string
1138 1138
      */
1139 1139
     public function getParsedBodyParam($key, $default = null)
1140 1140
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use Psr\Http\Message\StreamInterface;
18 18
 use Slim\Collection;
19 19
 use Slim\Exception\InvalidMethodException;
20
-use Slim\Exception\MethodNotAllowedException;
21 20
 use Slim\Interfaces\Http\HeadersInterface;
22 21
 
23 22
 /**
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
             $this->headers->set('Host', $this->uri->getHost());
202 202
         }
203 203
 
204
-        $this->registerMediaTypeParser('application/json', function ($input) {
204
+        $this->registerMediaTypeParser('application/json', function($input) {
205 205
             $result = json_decode($input, true);
206 206
             if (!is_array($result)) {
207 207
                 return null;
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
             return $result;
210 210
         });
211 211
 
212
-        $this->registerMediaTypeParser('application/xml', function ($input) {
212
+        $this->registerMediaTypeParser('application/xml', function($input) {
213 213
             $backup = libxml_disable_entity_loader(true);
214 214
             $backup_errors = libxml_use_internal_errors(true);
215 215
             $result = simplexml_load_string($input);
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
             return $result;
223 223
         });
224 224
 
225
-        $this->registerMediaTypeParser('text/xml', function ($input) {
225
+        $this->registerMediaTypeParser('text/xml', function($input) {
226 226
             $backup = libxml_disable_entity_loader(true);
227 227
             $backup_errors = libxml_use_internal_errors(true);
228 228
             $result = simplexml_load_string($input);
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
             return $result;
236 236
         });
237 237
 
238
-        $this->registerMediaTypeParser('application/x-www-form-urlencoded', function ($input) {
238
+        $this->registerMediaTypeParser('application/x-www-form-urlencoded', function($input) {
239 239
             parse_str($input, $data);
240 240
             return $data;
241 241
         });
@@ -1031,7 +1031,7 @@  discard block
 block discarded – undo
1031 1031
         // look for a media type with a structured syntax suffix (RFC 6839)
1032 1032
         $parts = explode('+', $mediaType);
1033 1033
         if (count($parts) >= 2) {
1034
-            $mediaType = 'application/' . $parts[count($parts)-1];
1034
+            $mediaType = 'application/' . $parts[count($parts) - 1];
1035 1035
         }
1036 1036
 
1037 1037
         if (isset($this->bodyParsers[$mediaType]) === true) {
Please login to merge, or discard this patch.
Slim/Handlers/Error.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
     /**
118 118
      * Render exception or error as HTML.
119 119
      *
120
-     * @param \Exception|\Error $exception
120
+     * @param \Exception $exception
121 121
      *
122 122
      * @return string
123 123
      */
Please login to merge, or discard this patch.
Slim/MiddlewareAwareTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
             $this->seedMiddlewareStack();
64 64
         }
65 65
         $next = $this->stack->top();
66
-        $this->stack[] = function (
66
+        $this->stack[] = function(
67 67
             ServerRequestInterface $request,
68 68
             ResponseInterface $response
69 69
         ) use (
Please login to merge, or discard this patch.