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
Push — master ( 659838...c097a6 )
by Steeven
02:11
created
src/Cli/Commanders/Build.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
             $phar->buildFromIterator(new \RecursiveIteratorIterator(new \RecursiveCallbackFilterIterator(
174 174
                 new \RecursiveDirectoryIterator(PATH_ROOT,
175 175
                     \FilesystemIterator::SKIP_DOTS | \FilesystemIterator::FOLLOW_SYMLINKS),
176
-                function ($current, $key, $iterator) {
176
+                function($current, $key, $iterator) {
177 177
                     if ($current->isDir()) {
178 178
                         // exclude build directory
179 179
                         if ($current->getFilename() === 'build') {
Please login to merge, or discard this patch.
src/Cli/Commanders/Maintenance.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -191,16 +191,16 @@  discard block
 block discarded – undo
191 191
         $options = input()->get();
192 192
 
193 193
         if (empty($options)) {
194
-            $_GET[ 'switch' ] = 'ON';
195
-            $_GET[ 'mode' ] = 'default';
196
-            $_GET[ 'lifetime' ] = 300;
197
-            $_GET[ 'title' ] = language()->getLine(strtoupper('CLI_MAINTENANCE_TITLE'));
198
-            $_GET[ 'message' ] = language()->getLine(strtoupper('CLI_MAINTENANCE_MESSAGE'));
194
+            $_GET['switch'] = 'ON';
195
+            $_GET['mode'] = 'default';
196
+            $_GET['lifetime'] = 300;
197
+            $_GET['title'] = language()->getLine(strtoupper('CLI_MAINTENANCE_TITLE'));
198
+            $_GET['message'] = language()->getLine(strtoupper('CLI_MAINTENANCE_MESSAGE'));
199 199
         } else {
200
-            $_GET[ 'mode' ] = 'default';
201
-            $_GET[ 'lifetime' ] = 300;
202
-            $_GET[ 'title' ] = language()->getLine(strtoupper('CLI_MAINTENANCE_TITLE'));
203
-            $_GET[ 'message' ] = language()->getLine(strtoupper('CLI_MAINTENANCE_MESSAGE'));
200
+            $_GET['mode'] = 'default';
201
+            $_GET['lifetime'] = 300;
202
+            $_GET['title'] = language()->getLine(strtoupper('CLI_MAINTENANCE_TITLE'));
203
+            $_GET['message'] = language()->getLine(strtoupper('CLI_MAINTENANCE_MESSAGE'));
204 204
         }
205 205
 
206 206
         $this->__callOptions();
@@ -213,11 +213,11 @@  discard block
 block discarded – undo
213 213
                     (new Format())
214 214
                         ->setContextualClass(Format::DANGER)
215 215
                         ->setString(language()->getLine('CLI_MAINTENANCE_ALREADY_STARTED', [
216
-                            $maintenanceInfo[ 'mode' ],
217
-                            $maintenanceInfo[ 'datetime' ],
218
-                            date('r', strtotime($maintenanceInfo[ 'datetime' ]) + $maintenanceInfo[ 'lifetime' ]),
219
-                            $maintenanceInfo[ 'title' ],
220
-                            $maintenanceInfo[ 'message' ],
216
+                            $maintenanceInfo['mode'],
217
+                            $maintenanceInfo['datetime'],
218
+                            date('r', strtotime($maintenanceInfo['datetime']) + $maintenanceInfo['lifetime']),
219
+                            $maintenanceInfo['title'],
220
+                            $maintenanceInfo['message'],
221 221
                         ]))
222 222
                         ->setNewLinesAfter(1)
223 223
                 );
Please login to merge, or discard this patch.
src/Cli/Commanders/Serve.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -113,8 +113,8 @@  discard block
 block discarded – undo
113 113
         $options = input()->get();
114 114
 
115 115
         if (empty($options)) {
116
-            $_GET[ 'host' ] = 'localhost';
117
-            $_GET[ 'port' ] = 8000;
116
+            $_GET['host'] = 'localhost';
117
+            $_GET['port'] = 8000;
118 118
         }
119 119
 
120 120
         $this->__callOptions();
@@ -126,12 +126,12 @@  discard block
 block discarded – undo
126 126
                 ->setNewLinesAfter(1)
127 127
         );
128 128
 
129
-        $_SERVER[ 'DOCUMENT_ROOT' ] = PATH_PUBLIC;
129
+        $_SERVER['DOCUMENT_ROOT'] = PATH_PUBLIC;
130 130
 
131 131
         output()->write(
132 132
             (new Format())
133 133
                 ->setContextualClass(Format::INFO)
134
-                ->setString(language()->getLine('CLI_SERVE_DOC_ROOT', [$_SERVER[ 'DOCUMENT_ROOT' ]]))
134
+                ->setString(language()->getLine('CLI_SERVE_DOC_ROOT', [$_SERVER['DOCUMENT_ROOT']]))
135 135
                 ->setNewLinesAfter(1)
136 136
         );
137 137
 
Please login to merge, or discard this patch.