@@ -205,9 +205,9 @@ discard block |
||
205 | 205 | $this->writeln("Executed $executed migrations, failed $failed, skipped $skipped" . ($missed ? ", missed $missed" : '')); |
206 | 206 | if ($input->getOption('separate-process')) { |
207 | 207 | // in case of using subprocesses, we can not measure max memory used |
208 | - $this->writeln("Time taken: ".sprintf('%.2f', $time)." secs"); |
|
208 | + $this->writeln("Time taken: " . sprintf('%.2f', $time) . " secs"); |
|
209 | 209 | } else { |
210 | - $this->writeln("Time taken: ".sprintf('%.2f', $time)." secs, memory: ".sprintf('%.2f', (memory_get_peak_usage(true) / 1000000)). ' MB'); |
|
210 | + $this->writeln("Time taken: " . sprintf('%.2f', $time) . " secs, memory: " . sprintf('%.2f', (memory_get_peak_usage(true) / 1000000)) . ' MB'); |
|
211 | 211 | } |
212 | 212 | |
213 | 213 | return $failed; |
@@ -431,7 +431,7 @@ discard block |
||
431 | 431 | $builderArgs[] = '--no-debug'; |
432 | 432 | } |
433 | 433 | if ($input->getOption('siteaccess')) { |
434 | - $builderArgs[]='--siteaccess='.$input->getOption('siteaccess'); |
|
434 | + $builderArgs[] = '--siteaccess=' . $input->getOption('siteaccess'); |
|
435 | 435 | } |
436 | 436 | // 'optional' options |
437 | 437 | // note: options 'clear-cache', 'ignore-failures', 'no-interaction', 'path' and 'separate-process' we never propagate |
@@ -21,23 +21,23 @@ |
||
21 | 21 | */ |
22 | 22 | public function getProcess() |
23 | 23 | { |
24 | - $this_prefix = \Closure::bind(function(ProcessBuilder $builder){return $builder->prefix;}, null, get_parent_class($this)); |
|
24 | + $this_prefix = \Closure::bind(function(ProcessBuilder $builder) {return $builder->prefix; }, null, get_parent_class($this)); |
|
25 | 25 | $this_prefix = $this_prefix($this); |
26 | - $this_arguments = \Closure::bind(function(ProcessBuilder $builder){return $builder->arguments;}, null, get_parent_class($this)); |
|
26 | + $this_arguments = \Closure::bind(function(ProcessBuilder $builder) {return $builder->arguments; }, null, get_parent_class($this)); |
|
27 | 27 | $this_arguments = $this_arguments($this); |
28 | - $this_options = \Closure::bind(function(ProcessBuilder $builder){return $builder->options;}, null, get_parent_class($this)); |
|
28 | + $this_options = \Closure::bind(function(ProcessBuilder $builder) {return $builder->options; }, null, get_parent_class($this)); |
|
29 | 29 | $this_options = $this_options($this); |
30 | - $this_inheritEnv = \Closure::bind(function(ProcessBuilder $builder){return $builder->inheritEnv;}, null, get_parent_class($this)); |
|
30 | + $this_inheritEnv = \Closure::bind(function(ProcessBuilder $builder) {return $builder->inheritEnv; }, null, get_parent_class($this)); |
|
31 | 31 | $this_inheritEnv = $this_inheritEnv($this); |
32 | - $this_env = \Closure::bind(function(ProcessBuilder $builder){return $builder->env;}, null, get_parent_class($this)); |
|
32 | + $this_env = \Closure::bind(function(ProcessBuilder $builder) {return $builder->env; }, null, get_parent_class($this)); |
|
33 | 33 | $this_env = $this_env($this); |
34 | - $this_cwd = \Closure::bind(function(ProcessBuilder $builder){return $builder->cwd;}, null, get_parent_class($this)); |
|
34 | + $this_cwd = \Closure::bind(function(ProcessBuilder $builder) {return $builder->cwd; }, null, get_parent_class($this)); |
|
35 | 35 | $this_cwd = $this_cwd($this); |
36 | - $this_input = \Closure::bind(function(ProcessBuilder $builder){return $builder->input;}, null, get_parent_class($this)); |
|
36 | + $this_input = \Closure::bind(function(ProcessBuilder $builder) {return $builder->input; }, null, get_parent_class($this)); |
|
37 | 37 | $this_input = $this_input($this); |
38 | - $this_timeout = \Closure::bind(function(ProcessBuilder $builder){return $builder->timeout;}, null, get_parent_class($this)); |
|
38 | + $this_timeout = \Closure::bind(function(ProcessBuilder $builder) {return $builder->timeout; }, null, get_parent_class($this)); |
|
39 | 39 | $this_timeout = $this_timeout($this); |
40 | - $this_outputDisabled = \Closure::bind(function(ProcessBuilder $builder){return $builder->outputDisabled;}, null, get_parent_class($this)); |
|
40 | + $this_outputDisabled = \Closure::bind(function(ProcessBuilder $builder) {return $builder->outputDisabled; }, null, get_parent_class($this)); |
|
41 | 41 | $this_outputDisabled = $this_outputDisabled($this); |
42 | 42 | |
43 | 43 | if (0 === count($this_prefix) && 0 === count($this_arguments)) { |