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 ( e6f75e...ccef5f )
by
unknown
10s
created
Slim/Http/StatusCode.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,12 +31,12 @@
 block discarded – undo
31 31
     const HTTP_SEE_OTHER = 303;
32 32
     const HTTP_NOT_MODIFIED = 304;
33 33
     const HTTP_USE_PROXY = 305;
34
-    const HTTP_UNUSED= 306;
34
+    const HTTP_UNUSED = 306;
35 35
     const HTTP_TEMPORARY_REDIRECT = 307;
36 36
     const HTTP_PERMANENT_REDIRECT = 308;
37 37
 
38 38
     const HTTP_BAD_REQUEST = 400;
39
-    const HTTP_UNAUTHORIZED  = 401;
39
+    const HTTP_UNAUTHORIZED = 401;
40 40
     const HTTP_PAYMENT_REQUIRED = 402;
41 41
     const HTTP_FORBIDDEN = 403;
42 42
     const HTTP_NOT_FOUND = 404;
Please login to merge, or discard this patch.
Slim/Http/Request.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
             $this->headers->set('Host', $this->uri->getHost() . $port);
204 204
         }
205 205
 
206
-        $this->registerMediaTypeParser('application/json', function ($input) {
206
+        $this->registerMediaTypeParser('application/json', function($input) {
207 207
             $result = json_decode($input, true);
208 208
             if (!is_array($result)) {
209 209
                 return null;
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
             return $result;
212 212
         });
213 213
 
214
-        $this->registerMediaTypeParser('application/xml', function ($input) {
214
+        $this->registerMediaTypeParser('application/xml', function($input) {
215 215
             $backup = libxml_disable_entity_loader(true);
216 216
             $backup_errors = libxml_use_internal_errors(true);
217 217
             $result = simplexml_load_string($input);
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
             return $result;
225 225
         });
226 226
 
227
-        $this->registerMediaTypeParser('text/xml', function ($input) {
227
+        $this->registerMediaTypeParser('text/xml', function($input) {
228 228
             $backup = libxml_disable_entity_loader(true);
229 229
             $backup_errors = libxml_use_internal_errors(true);
230 230
             $result = simplexml_load_string($input);
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
             return $result;
238 238
         });
239 239
 
240
-        $this->registerMediaTypeParser('application/x-www-form-urlencoded', function ($input) {
240
+        $this->registerMediaTypeParser('application/x-www-form-urlencoded', function($input) {
241 241
             parse_str($input, $data);
242 242
             return $data;
243 243
         });
@@ -1035,7 +1035,7 @@  discard block
 block discarded – undo
1035 1035
             // If not, look for a media type with a structured syntax suffix (RFC 6839)
1036 1036
             $parts = explode('+', $mediaType);
1037 1037
             if (count($parts) >= 2) {
1038
-                $mediaType = 'application/' . $parts[count($parts)-1];
1038
+                $mediaType = 'application/' . $parts[count($parts) - 1];
1039 1039
             }
1040 1040
         }
1041 1041
 
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -814,7 +814,7 @@  discard block
 block discarded – undo
814 814
      * These values MAY be prepared from $_FILES or the message body during
815 815
      * instantiation, or MAY be injected via withUploadedFiles().
816 816
      *
817
-     * @return array
817
+     * @return UploadedFileInterface[]
818 818
      */
819 819
     public function getUploadedFiles()
820 820
     {
@@ -1142,7 +1142,7 @@  discard block
 block discarded – undo
1142 1142
      * @param string $key
1143 1143
      * @param mixed  $default
1144 1144
      *
1145
-     * @return mixed
1145
+     * @return null|string
1146 1146
      */
1147 1147
     public function getParsedBodyParam($key, $default = null)
1148 1148
     {
Please login to merge, or discard this patch.
Slim/Http/UploadedFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
     {
86 86
         if (is_array($env['slim.files']) && $env->has('slim.files')) {
87 87
             return $env['slim.files'];
88
-        } elseif (! empty($_FILES)) {
88
+        } elseif (!empty($_FILES)) {
89 89
             return static::parseUploadedFiles($_FILES);
90 90
         }
91 91
 
Please login to merge, or discard this patch.
Slim/DefaultServicesProvider.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
              *
43 43
              * @return Environment
44 44
              */
45
-            $container['environment'] = function () {
45
+            $container['environment'] = function() {
46 46
                 return new Environment($_SERVER);
47 47
             };
48 48
         }
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
              *
56 56
              * @return ServerRequestInterface
57 57
              */
58
-            $container['request'] = function ($container) {
58
+            $container['request'] = function($container) {
59 59
                 return Request::createFromEnvironment($container->get('environment'));
60 60
             };
61 61
         }
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
              *
69 69
              * @return ResponseInterface
70 70
              */
71
-            $container['response'] = function ($container) {
71
+            $container['response'] = function($container) {
72 72
                 $headers = new Headers(['Content-Type' => 'text/html; charset=UTF-8']);
73 73
                 $response = new Response(200, $headers);
74 74
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
              *
86 86
              * @return RouterInterface
87 87
              */
88
-            $container['router'] = function ($container) {
88
+            $container['router'] = function($container) {
89 89
                 $routerCacheFile = false;
90 90
                 if (isset($container->get('settings')['routerCacheFile'])) {
91 91
                     $routerCacheFile = $container->get('settings')['routerCacheFile'];
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
              *
109 109
              * @return InvocationStrategyInterface
110 110
              */
111
-            $container['foundHandler'] = function () {
111
+            $container['foundHandler'] = function() {
112 112
                 return new RequestResponse;
113 113
             };
114 114
         }
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
              *
130 130
              * @return callable
131 131
              */
132
-            $container['phpErrorHandler'] = function ($container) {
132
+            $container['phpErrorHandler'] = function($container) {
133 133
                 return new PhpError($container->get('settings')['displayErrorDetails']);
134 134
             };
135 135
         }
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
              *
151 151
              * @return callable
152 152
              */
153
-            $container['errorHandler'] = function ($container) {
153
+            $container['errorHandler'] = function($container) {
154 154
                 return new Error(
155 155
                     $container->get('settings')['displayErrorDetails']
156 156
                 );
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
              *
171 171
              * @return callable
172 172
              */
173
-            $container['notFoundHandler'] = function () {
173
+            $container['notFoundHandler'] = function() {
174 174
                 return new NotFound;
175 175
             };
176 176
         }
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
              *
190 190
              * @return callable
191 191
              */
192
-            $container['notAllowedHandler'] = function () {
192
+            $container['notAllowedHandler'] = function() {
193 193
                 return new NotAllowed;
194 194
             };
195 195
         }
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
              *
203 203
              * @return CallableResolverInterface
204 204
              */
205
-            $container['callableResolver'] = function ($container) {
205
+            $container['callableResolver'] = function($container) {
206 206
                 return new CallableResolver($container);
207 207
             };
208 208
         }
Please login to merge, or discard this patch.
Slim/Route.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     protected $callable;
81 81
 
82 82
     /**
83
-     * @param string|string[] $methods The route HTTP methods
83
+     * @param string[] $methods The route HTTP methods
84 84
      * @param string          $pattern The route pattern
85 85
      * @param callable        $callable The route callable
86 86
      * @param RouteGroup[]    $groups The parent route groups
Please login to merge, or discard this patch.
Slim/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
          *
80 80
          * @return array|ArrayAccess
81 81
          */
82
-        $this['settings'] = function () use ($userSettings, $defaultSettings) {
82
+        $this['settings'] = function() use ($userSettings, $defaultSettings) {
83 83
             return new Collection(array_merge($defaultSettings, $userSettings));
84 84
         };
85 85
 
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
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     /**
112 112
      * Render exception or error as HTML.
113 113
      *
114
-     * @param Exception|\Error $exception
114
+     * @param Exception $exception
115 115
      *
116 116
      * @return string
117 117
      *
Please login to merge, or discard this patch.