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