Completed
Push — develop ( e03d93...eac670 )
by Steven
13:07 queued 10:12
created
src/Magestead/Command/Cache/DisableCommand.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 
18 18
     protected function configure()
19 19
     {
20
-        $this->_projectPath = getcwd();
20
+        $this->_projectPath=getcwd();
21 21
         $this->setName("cache:disable");
22 22
         $this->setDescription("Disable cache types");
23 23
         $this->addArgument('type', InputArgument::OPTIONAL, '[cache code/type]');
@@ -32,9 +32,9 @@  discard block
 block discarded – undo
32 32
     {
33 33
         $output->writeln('<info>Disabling all cache types</info>');
34 34
 
35
-        $cacheType = $input->getArgument('type');
36
-        $command  = $this->getCommand(new Config($output), $cacheType);
37
-        $pCommand = "vagrant ssh -c '". $command ."'";
35
+        $cacheType=$input->getArgument('type');
36
+        $command=$this->getCommand(new Config($output), $cacheType);
37
+        $pCommand="vagrant ssh -c '".$command."'";
38 38
         return new ProcessCommand($pCommand, $this->_projectPath, $output);
39 39
     }
40 40
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     protected function getCommand(Config $config, $cacheType)
46 46
     {
47
-        $type = $config->type;
47
+        $type=$config->type;
48 48
         switch ($type) {
49 49
             case 'magento':
50 50
                 return "cd /var/www/public;../bin/n98-magerun.phar cache:disable $cacheType";
Please login to merge, or discard this patch.
src/Magestead/Command/Cache/EnableCommand.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 
18 18
     protected function configure()
19 19
     {
20
-        $this->_projectPath = getcwd();
20
+        $this->_projectPath=getcwd();
21 21
         $this->setName("cache:disable");
22 22
         $this->setDescription("Disable cache types");
23 23
         $this->addArgument('type', InputArgument::OPTIONAL, '[cache code/type]');
@@ -32,9 +32,9 @@  discard block
 block discarded – undo
32 32
     {
33 33
         $output->writeln('<info>Disabling all cache types</info>');
34 34
 
35
-        $cacheType = $input->getArgument('type');
36
-        $command  = $this->getCommand(new Config($output), $cacheType);
37
-        $pCommand = "vagrant ssh -c '". $command ."'";
35
+        $cacheType=$input->getArgument('type');
36
+        $command=$this->getCommand(new Config($output), $cacheType);
37
+        $pCommand="vagrant ssh -c '".$command."'";
38 38
         return new ProcessCommand($pCommand, $this->_projectPath, $output);
39 39
     }
40 40
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     protected function getCommand(Config $config, $cacheType)
46 46
     {
47
-        $type = $config->type;
47
+        $type=$config->type;
48 48
         switch ($type) {
49 49
             case 'magento':
50 50
                 return "cd /var/www/public;../bin/n98-magerun.phar cache:disable $cacheType";
Please login to merge, or discard this patch.
src/Magestead/Command/Cache/CleanCommand.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 
18 18
     protected function configure()
19 19
     {
20
-        $this->_projectPath = getcwd();
20
+        $this->_projectPath=getcwd();
21 21
         $this->setName("cache:disable");
22 22
         $this->setDescription("Disable cache types");
23 23
         $this->addArgument('type', InputArgument::OPTIONAL, '[cache code/type]');
@@ -32,9 +32,9 @@  discard block
 block discarded – undo
32 32
     {
33 33
         $output->writeln('<info>Disabling all cache types</info>');
34 34
 
35
-        $cacheType = $input->getArgument('type');
36
-        $command  = $this->getCommand(new Config($output), $cacheType);
37
-        $pCommand = "vagrant ssh -c '". $command ."'";
35
+        $cacheType=$input->getArgument('type');
36
+        $command=$this->getCommand(new Config($output), $cacheType);
37
+        $pCommand="vagrant ssh -c '".$command."'";
38 38
         return new ProcessCommand($pCommand, $this->_projectPath, $output);
39 39
     }
40 40
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     protected function getCommand(Config $config, $cacheType)
46 46
     {
47
-        $type = $config->type;
47
+        $type=$config->type;
48 48
         switch ($type) {
49 49
             case 'magento':
50 50
                 return "cd /var/www/public;../bin/n98-magerun.phar cache:disable $cacheType";
Please login to merge, or discard this patch.
src/Magestead/Command/Cache/FlushCommand.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 
18 18
     protected function configure()
19 19
     {
20
-        $this->_projectPath = getcwd();
20
+        $this->_projectPath=getcwd();
21 21
         $this->setName("cache:disable");
22 22
         $this->setDescription("Disable cache types");
23 23
         $this->addArgument('type', InputArgument::OPTIONAL, '[cache code/type]');
@@ -32,9 +32,9 @@  discard block
 block discarded – undo
32 32
     {
33 33
         $output->writeln('<info>Disabling all cache types</info>');
34 34
 
35
-        $cacheType = $input->getArgument('type');
36
-        $command  = $this->getCommand(new Config($output), $cacheType);
37
-        $pCommand = "vagrant ssh -c '". $command ."'";
35
+        $cacheType=$input->getArgument('type');
36
+        $command=$this->getCommand(new Config($output), $cacheType);
37
+        $pCommand="vagrant ssh -c '".$command."'";
38 38
         return new ProcessCommand($pCommand, $this->_projectPath, $output);
39 39
     }
40 40
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     protected function getCommand(Config $config, $cacheType)
46 46
     {
47
-        $type = $config->type;
47
+        $type=$config->type;
48 48
         switch ($type) {
49 49
             case 'magento':
50 50
                 return "cd /var/www/public;../bin/n98-magerun.phar cache:disable $cacheType";
Please login to merge, or discard this patch.