Completed
Push — develop ( da75a0...64ad43 )
by Neomerx
15:11
created
src/LimoncelloCommand.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
         // This method does bootstrap for every command (e.g. configure containers)
140 140
         // and then calls the actual command handler.
141 141
 
142
-        $container =  null;
142
+        $container = null;
143 143
 
144 144
         try {
145 145
             $container = $this->createContainer($this->getComposer());
@@ -187,14 +187,14 @@  discard block
 block discarded – undo
187 187
                 $handler  = $container->get(ThrowableHandlerInterface::class);
188 188
                 $response = $handler->createResponse($exception, $container);
189 189
 
190
-                $output->writeln((string)$response->getBody());
190
+                $output->writeln((string) $response->getBody());
191 191
             } else {
192 192
                 $message = $exception->getMessage();
193 193
                 $file    = $exception->getFile();
194 194
                 $line    = $exception->getLine();
195 195
                 $trace   = $exception->getTraceAsString();
196 196
 
197
-                $output->writeln("$message at $file#$line" . PHP_EOL . $trace);
197
+                $output->writeln("$message at $file#$line".PHP_EOL.$trace);
198 198
             }
199 199
 
200 200
             throw $exception;
@@ -377,13 +377,13 @@  discard block
 block discarded – undo
377 377
         callable $command,
378 378
         PsrContainerInterface $container
379 379
     ): Closure {
380
-        $next = function (IoInterface $inOut) use ($command, $container): void {
380
+        $next = function(IoInterface $inOut) use ($command, $container): void {
381 381
             call_user_func($command, $container, $inOut);
382 382
         };
383 383
 
384 384
         for ($index = count($middleware) - 1; $index >= 0; $index--) {
385 385
             $currentMiddleware = $middleware[$index];
386
-            $next = function (IoInterface $inOut) use ($currentMiddleware, $next, $container): void {
386
+            $next = function(IoInterface $inOut) use ($currentMiddleware, $next, $container): void {
387 387
                 call_user_func($currentMiddleware, $inOut, $next, $container);
388 388
             };
389 389
         }
Please login to merge, or discard this patch.