Completed
Push — master ( 05a136...33b2da )
by Harry
01:36
created
src/Pool.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
     public function isRunning()
195 195
     {
196 196
         /** @var Run[] $running */
197
-        $this->running = array_filter($this->running, function (RunInterface $run) {
197
+        $this->running = array_filter($this->running, function(RunInterface $run) {
198 198
             return $run->isRunning();
199 199
         });
200 200
 
Please login to merge, or discard this patch.
src/Table.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
         $spinner = 0;
104 104
 
105 105
         if ($this->output->getVerbosity() >= OutputInterface::VERBOSITY_VERBOSE) {
106
-            $onProgress = function ($process, $duration, $last) use ($index, $data, &$spinner) {
106
+            $onProgress = function($process, $duration, $last) use ($index, $data, &$spinner) {
107 107
                 $this->rows[$index] = $this->formatRow(
108 108
                     $data,
109 109
                     mb_substr(static::SPINNER, $spinner++, 1),
@@ -121,11 +121,11 @@  discard block
 block discarded – undo
121 121
 
122 122
         $this->processPool->add(new Run(
123 123
             $process,
124
-            function ($process, $duration, $last) use ($index, $data) {
124
+            function($process, $duration, $last) use ($index, $data) {
125 125
                 $this->rows[$index] = $this->formatRow($data, "<info>✓</info>", $duration, $last);
126 126
                 $this->render($index);
127 127
             },
128
-            function ($process, $duration, $last) use ($index, $data) {
128
+            function($process, $duration, $last) use ($index, $data) {
129 129
                 $this->rows[$index] = $this->formatRow($data, "<error>x</error>", $duration, $last);
130 130
                 $this->render($index);
131 131
                 $this->exceptions[] = new ProcessFailedException($process);
Please login to merge, or discard this patch.
src/Run.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     public function start()
57 57
     {
58 58
         if (!$this->process->isRunning()) {
59
-            $this->process->start(function ($type, $data) {
59
+            $this->process->start(function($type, $data) {
60 60
                 $this->last = rtrim($data);
61 61
             });
62 62
             $this->started = microtime(true);
Please login to merge, or discard this patch.