Passed
Push — develop ( 424f0e...acec73 )
by nguereza
02:07
created
src/Command/Shell.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -360,9 +360,9 @@
 block discarded – undo
360 360
                : ['pipe', 'w'];
361 361
 
362 362
         return [
363
-         self::STDIN_DESCRIPTOR  => ['pipe', 'r'],
364
-         self::STDOUT_DESCRIPTOR => $out,
365
-         self::STDERR_DESCRIPTOR => $out,
363
+            self::STDIN_DESCRIPTOR  => ['pipe', 'r'],
364
+            self::STDOUT_DESCRIPTOR => $out,
365
+            self::STDERR_DESCRIPTOR => $out,
366 366
         ];
367 367
     }
368 368
 
Please login to merge, or discard this patch.
src/Application.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
         };
130 130
 
131 131
         $this->command('__default__', 'Default command', '', true, true)
132
-              ->on([$this, 'showHelp'], 'help');
132
+                ->on([$this, 'showHelp'], 'help');
133 133
     }
134 134
 
135 135
     /**
Please login to merge, or discard this patch.
src/Input/Option.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,10 +61,10 @@
 block discarded – undo
61 61
      */
62 62
     protected string $short = '';
63 63
 
64
-     /**
65
-     * The long option name
66
-     * @var string
67
-     */
64
+        /**
65
+         * The long option name
66
+         * @var string
67
+         */
68 68
     protected string $long = '';
69 69
 
70 70
     /**
Please login to merge, or discard this patch.
src/IO/Interactor.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -248,9 +248,9 @@
 block discarded – undo
248 248
 
249 249
         foreach ($choices as $choice => $desc) {
250 250
             $this->writer->eol()
251
-                         ->cyan(
252
-                             str_pad(' [' . $choice . ']', $maxLength + 6)
253
-                         );
251
+                            ->cyan(
252
+                                str_pad(' [' . $choice . ']', $maxLength + 6)
253
+                            );
254 254
 
255 255
             $this->writer->dim($desc);
256 256
         }
Please login to merge, or discard this patch.
src/Util/OutputHelper.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -110,19 +110,19 @@  discard block
 block discarded – undo
110 110
         $traceStr = '</eol></eol><info>Stack Trace:</end></eol></eol>';
111 111
         foreach ($error->getTrace() as $i => $trace) {
112 112
             $trace += [
113
-               'class' => '',
114
-               'type' => '',
115
-               'function' => '',
116
-               'file' => '',
117
-               'line' => '',
118
-               'args' => []
119
-               ];
113
+                'class' => '',
114
+                'type' => '',
115
+                'function' => '',
116
+                'file' => '',
117
+                'line' => '',
118
+                'args' => []
119
+                ];
120 120
 
121 121
             $symbol = $trace['class'] . $trace['type'] . $trace['function'];
122 122
             $arguments = $this->stringifyArgs($trace['args']);
123 123
 
124 124
             $traceStr .= ' <comment>' . $i . ')</end> <error>'
125
-                   . $symbol . '</end><comment>(' . $arguments . ')</end>';
125
+                    . $symbol . '</end><comment>(' . $arguments . ')</end>';
126 126
 
127 127
             if ($trace['file'] !== '') {
128 128
                 $file = realpath($trace['file']);
@@ -151,13 +151,13 @@  discard block
 block discarded – undo
151 151
         return $this;
152 152
     }
153 153
 
154
-     /**
155
-     * Show options help
156
-     * @param array<Option> $items
157
-     * @param string $header
158
-     * @param string $footer
159
-     * @return $this
160
-     */
154
+        /**
155
+         * Show options help
156
+         * @param array<Option> $items
157
+         * @param string $header
158
+         * @param string $footer
159
+         * @return $this
160
+         */
161 161
     public function showOptionsHelp(
162 162
         array $items,
163 163
         string $header = '',
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 
204 204
         if (strpos($usage, ' ## ') === false) {
205 205
             $this->writer->eol()->boldGreen('Usage Examples: ', true)
206
-                 ->colors($usage)->eol();
206
+                    ->colors($usage)->eol();
207 207
 
208 208
             return $this;
209 209
         }
@@ -242,8 +242,8 @@  discard block
 block discarded – undo
242 242
         );
243 243
 
244 244
         $this->writer->eol()
245
-                 ->boldGreen('Usage Examples: ', true)
246
-                 ->colors($formatedUsage)->eol();
245
+                    ->boldGreen('Usage Examples: ', true)
246
+                    ->colors($formatedUsage)->eol();
247 247
 
248 248
         return $this;
249 249
     }
Please login to merge, or discard this patch.
src/Command/Command.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -578,17 +578,17 @@
 block discarded – undo
578 578
     protected function defaults(): self
579 579
     {
580 580
         $this->addOption('-h|--help', 'Show help')
581
-              ->on([$this, 'showHelp']);
581
+                ->on([$this, 'showHelp']);
582 582
 
583 583
         $this->addOption('-v|--version', 'Show version')
584
-             ->on([$this, 'showVersion']);
584
+                ->on([$this, 'showVersion']);
585 585
 
586 586
         $this->addOption('-V|--verbosity', 'Verbosity level', 0)
587
-             ->on(function () {
587
+                ->on(function () {
588 588
                 $this->set('verbosity', ++$this->verbosity);
589 589
 
590 590
                 return false;
591
-             });
591
+                });
592 592
 
593 593
         $this->onExit(function (int $exitCode = 0) {
594 594
             $this->terminate($exitCode);
Please login to merge, or discard this patch.