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
Pull Request — 3.x (#2309)
by Niklas
01:49
created
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/Http/Uri.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -186,12 +186,12 @@  discard block
 block discarded – undo
186 186
             $host = $matches[1];
187 187
 
188 188
             if (isset($matches[2])) {
189
-                $port = (int) substr($matches[2], 1);
189
+                $port = (int)substr($matches[2], 1);
190 190
             }
191 191
         } else {
192 192
             $pos = strpos($host, ':');
193 193
             if ($pos !== false) {
194
-                $port = (int) substr($host, $pos + 1);
194
+                $port = (int)substr($host, $pos + 1);
195 195
                 $host = strstr($host, ':', true);
196 196
             }
197 197
         }
@@ -622,7 +622,7 @@  discard block
 block discarded – undo
622 622
     {
623 623
         return preg_replace_callback(
624 624
             '/(?:[^a-zA-Z0-9_\-\.~:@&=\+\$,\/;%]+|%(?![A-Fa-f0-9]{2}))/',
625
-            function ($match) {
625
+            function($match) {
626 626
                 return rawurlencode($match[0]);
627 627
             },
628 628
             $path
@@ -695,7 +695,7 @@  discard block
 block discarded – undo
695 695
     {
696 696
         return preg_replace_callback(
697 697
             '/(?:[^a-zA-Z0-9_\-\.~!\$&\'\(\)\*\+,;=%:@\/\?]+|%(?![A-Fa-f0-9]{2}))/',
698
-            function ($match) {
698
+            function($match) {
699 699
                 return rawurlencode($match[0]);
700 700
             },
701 701
             $query
Please login to merge, or discard this patch.
Slim/Handlers/AbstractError.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function __construct($displayErrorDetails = false, $outputBuffering = false)
32 32
     {
33
-        $this->displayErrorDetails = (bool) $displayErrorDetails;
33
+        $this->displayErrorDetails = (bool)$displayErrorDetails;
34 34
         $this->outputBuffering = $outputBuffering;
35 35
     }
36 36
 
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
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
              *
44 44
              * @return EnvironmentInterface
45 45
              */
46
-            $container['environment'] = function () {
46
+            $container['environment'] = function() {
47 47
                 return new Environment($_SERVER);
48 48
             };
49 49
         }
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
              *
57 57
              * @return ServerRequestInterface
58 58
              */
59
-            $container['request'] = function ($container) {
59
+            $container['request'] = function($container) {
60 60
                 return Request::createFromEnvironment($container->get('environment'));
61 61
             };
62 62
         }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
              *
70 70
              * @return ResponseInterface
71 71
              */
72
-            $container['response'] = function ($container) {
72
+            $container['response'] = function($container) {
73 73
                 $headers = new Headers(['Content-Type' => 'text/html; charset=UTF-8']);
74 74
                 $response = new Response(200, $headers);
75 75
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
              *
87 87
              * @return RouterInterface
88 88
              */
89
-            $container['router'] = function ($container) {
89
+            $container['router'] = function($container) {
90 90
                 $routerCacheFile = false;
91 91
                 if (isset($container->get('settings')['routerCacheFile'])) {
92 92
                     $routerCacheFile = $container->get('settings')['routerCacheFile'];
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
              *
110 110
              * @return InvocationStrategyInterface
111 111
              */
112
-            $container['foundHandler'] = function () {
112
+            $container['foundHandler'] = function() {
113 113
                 return new RequestResponse;
114 114
             };
115 115
         }
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
              *
131 131
              * @return callable
132 132
              */
133
-            $container['phpErrorHandler'] = function ($container) {
133
+            $container['phpErrorHandler'] = function($container) {
134 134
                 return new PhpError($container->get('settings')['displayErrorDetails']);
135 135
             };
136 136
         }
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
              *
152 152
              * @return callable
153 153
              */
154
-            $container['errorHandler'] = function ($container) {
154
+            $container['errorHandler'] = function($container) {
155 155
                 return new Error(
156 156
                     $container->get('settings')['displayErrorDetails'],
157 157
                     $container->get('settings')['outputBuffering']
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
              *
173 173
              * @return callable
174 174
              */
175
-            $container['notFoundHandler'] = function () {
175
+            $container['notFoundHandler'] = function() {
176 176
                 return new NotFound;
177 177
             };
178 178
         }
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
              *
192 192
              * @return callable
193 193
              */
194
-            $container['notAllowedHandler'] = function () {
194
+            $container['notAllowedHandler'] = function() {
195 195
                 return new NotAllowed;
196 196
             };
197 197
         }
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
              *
205 205
              * @return CallableResolverInterface
206 206
              */
207
-            $container['callableResolver'] = function ($container) {
207
+            $container['callableResolver'] = function($container) {
208 208
                 return new CallableResolver($container);
209 209
             };
210 210
         }
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
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             $this->seedMiddlewareStack();
61 61
         }
62 62
         $next = $this->tip;
63
-        $this->tip = function (
63
+        $this->tip = function(
64 64
             ServerRequestInterface $request,
65 65
             ResponseInterface $response
66 66
         ) use (
Please login to merge, or discard this patch.