@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | protected function configure() |
| 19 | 19 | { |
| 20 | - $this->_projectPath = getcwd(); |
|
| 20 | + $this->_projectPath=getcwd(); |
|
| 21 | 21 | $this->setName("cache:status"); |
| 22 | 22 | $this->setDescription("Checks cache status"); |
| 23 | 23 | } |
@@ -31,8 +31,8 @@ discard block |
||
| 31 | 31 | { |
| 32 | 32 | $output->writeln('<info>Checking cache status</info>'); |
| 33 | 33 | |
| 34 | - $command = $this->getCommand(new Config($output)); |
|
| 35 | - $pCommand = "vagrant ssh -c '". $command ."'"; |
|
| 34 | + $command=$this->getCommand(new Config($output)); |
|
| 35 | + $pCommand="vagrant ssh -c '".$command."'"; |
|
| 36 | 36 | return new ProcessCommand($pCommand, $this->_projectPath, $output); |
| 37 | 37 | } |
| 38 | 38 | |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | protected function getCommand(Config $config) |
| 44 | 44 | { |
| 45 | - $type = $config->type; |
|
| 45 | + $type=$config->type; |
|
| 46 | 46 | switch ($type) { |
| 47 | 47 | case 'magento': |
| 48 | 48 | return "cd /var/www/public;../bin/n98-magerun.phar cache:list"; |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | protected function configure() |
| 19 | 19 | { |
| 20 | - $this->_projectPath = getcwd(); |
|
| 20 | + $this->_projectPath=getcwd(); |
|
| 21 | 21 | $this->setName("cache:status"); |
| 22 | 22 | $this->setDescription("Checks cache status"); |
| 23 | 23 | } |
@@ -31,8 +31,8 @@ discard block |
||
| 31 | 31 | { |
| 32 | 32 | $output->writeln('<info>Checking cache status</info>'); |
| 33 | 33 | |
| 34 | - $command = $this->getCommand(new Config($output)); |
|
| 35 | - $pCommand = "vagrant ssh -c '". $command ."'"; |
|
| 34 | + $command=$this->getCommand(new Config($output)); |
|
| 35 | + $pCommand="vagrant ssh -c '".$command."'"; |
|
| 36 | 36 | return new ProcessCommand($pCommand, $this->_projectPath, $output); |
| 37 | 37 | } |
| 38 | 38 | |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | protected function getCommand(Config $config) |
| 44 | 44 | { |
| 45 | - $type = $config->type; |
|
| 45 | + $type=$config->type; |
|
| 46 | 46 | switch ($type) { |
| 47 | 47 | case 'magento': |
| 48 | 48 | return "cd /var/www/public;../bin/n98-magerun.phar cache:list"; |