@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | $random = \bin2hex(random_bytes(20)); |
77 | 77 | $this->symfonyStyle->newLine(); |
78 | 78 | $question = new Question($this->getQuestion('Insert your authentication secret or use this one randomly generated', $random), $random); |
79 | - $question->setValidator(function ($secret) { |
|
79 | + $question->setValidator(function($secret) { |
|
80 | 80 | if (!ctype_print($secret)) { |
81 | 81 | throw new \RuntimeException(sprintf('The authentication secret is not printable', $secret)); |
82 | 82 | } |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | $dh->start(spl_object_hash($process), "Find {$options['dir']}", 'START'), |
207 | 207 | )); |
208 | 208 | |
209 | - $process->run(function ($type, $buffer) use ($process, $output, $dh) { |
|
209 | + $process->run(function($type, $buffer) use ($process, $output, $dh) { |
|
210 | 210 | $output->writeln($dh->progress(spl_object_hash($process), $buffer, Process::ERR === $type)); |
211 | 211 | }); |
212 | 212 |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | ->info('Encoded key or path to .crypto file. If key is null, it generates a different random key for each request.') |
42 | 42 | ->beforeNormalization() |
43 | 43 | ->ifString() |
44 | - ->then(function ($v) { |
|
44 | + ->then(function($v) { |
|
45 | 45 | if (is_file($v) && is_readable($v)) { |
46 | 46 | return array('path' => $v); |
47 | 47 | } |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | ->end() |
52 | 52 | ->validate() |
53 | 53 | ->ifArray() |
54 | - ->then(function ($v) { |
|
54 | + ->then(function($v) { |
|
55 | 55 | $path = $v['path']; |
56 | 56 | $key = $v['key']; |
57 | 57 |