@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of the dotfiles project. |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | $helper = new DebugFormatterHelper(); |
| 93 | 93 | |
| 94 | 94 | $process = new Process($cmd, getcwd()); |
| 95 | - $process->run(function ($type, $buffer) use ($output,$helper,$process): void { |
|
| 95 | + $process->run(function($type, $buffer) use ($output, $helper, $process): void { |
|
| 96 | 96 | $contents = $helper->start( |
| 97 | 97 | spl_object_hash($process), |
| 98 | 98 | $buffer, |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of the dotfiles project. |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | $output = $this->output; |
| 133 | 133 | $output->writeln("Executing <comment>$relPath</comment>"); |
| 134 | 134 | $process = new Process($realPath); |
| 135 | - $process->run(function ($type, $buffer) use ($relPath,$output,$helper,$process): void { |
|
| 135 | + $process->run(function($type, $buffer) use ($relPath, $output, $helper, $process): void { |
|
| 136 | 136 | $contents = $helper->start( |
| 137 | 137 | spl_object_hash($process), |
| 138 | 138 | $buffer, |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of the dotfiles project. |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | $helper = $this->getHelper('question'); |
| 118 | 118 | $default = 'dev' === getenv('DOTFILES_ENV') ? sys_get_temp_dir().'/dotfiles/backup' : getcwd(); |
| 119 | 119 | $question = new Question("Please enter local backup dir (<comment>$default</comment>): ", $default); |
| 120 | - $question->setValidator(function ($answer) { |
|
| 120 | + $question->setValidator(function($answer) { |
|
| 121 | 121 | if (null === $answer) { |
| 122 | 122 | throw new InvalidOperationException('You have to define local backup directory'); |
| 123 | 123 | } |