@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | |
17 | 17 | protected function configure() |
18 | 18 | { |
19 | - $this->_projectPath = getcwd(); |
|
19 | + $this->_projectPath=getcwd(); |
|
20 | 20 | $this->setName("redis:flush-all"); |
21 | 21 | $this->setDescription("Flush redis storage"); |
22 | 22 | } |
@@ -30,8 +30,8 @@ discard block |
||
30 | 30 | { |
31 | 31 | $output->writeln('<info>Flushing Redis Storage</info>'); |
32 | 32 | |
33 | - $command = "redis-cli flushall"; |
|
34 | - $passedCommand = "vagrant ssh -c '". $command ."'"; |
|
33 | + $command="redis-cli flushall"; |
|
34 | + $passedCommand="vagrant ssh -c '".$command."'"; |
|
35 | 35 | return new ProcessCommand($passedCommand, $this->_projectPath, $output); |
36 | 36 | } |
37 | 37 | } |
@@ -28,9 +28,9 @@ |
||
28 | 28 | */ |
29 | 29 | protected function run($command, $projectPath, OutputInterface $output) |
30 | 30 | { |
31 | - $process = new Process($command, $projectPath, array_merge($_SERVER, $_ENV), null, null); |
|
31 | + $process=new Process($command, $projectPath, array_merge($_SERVER, $_ENV), null, null); |
|
32 | 32 | |
33 | - $process->run(function ($type, $line) use ($output) { |
|
33 | + $process->run(function($type, $line) use ($output) { |
|
34 | 34 | $output->write($line); |
35 | 35 | }); |
36 | 36 | } |