@@ -194,7 +194,7 @@ |
||
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 |
@@ -103,7 +103,7 @@ discard block |
||
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 |
||
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); |
@@ -56,7 +56,7 @@ |
||
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); |