Completed
Pull Request — master (#6)
by ANTHONIUS
02:49
created
src/Core/Command/InitCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/Core/Processor/Hooks.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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.
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         $logger = $this->logger;
89 89
         $logger->debug("Executing <comment>$relPath</comment>");
90 90
         $process = new Process($realPath);
91
-        $process->run(function ($type, $buffer) use ($relPath,$logger,$helper,$process): void {
91
+        $process->run(function($type, $buffer) use ($relPath, $logger, $helper, $process): void {
92 92
             $contents = $helper->start(
93 93
                 spl_object_hash($process),
94 94
                 $buffer,
Please login to merge, or discard this patch.
src/Behat/Context/CommandContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.