Completed
Branch feature/folder-permissions (74f61c)
by Steven
02:23
created
src/Magestead/Command/Redis/FlushallCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Magestead/Command/ProcessCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.