Completed
Pull Request — develop (#47)
by Steven
05:50 queued 02:48
created
src/Magestead/Command/Cache/FlushCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
     protected function configure()
20 20
     {
21
-        $this->_projectPath = getcwd();
21
+        $this->_projectPath=getcwd();
22 22
         $this->setName('cache:enable');
23 23
         $this->setDescription('Enable cache types');
24 24
     }
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
     {
34 34
         $output->writeln('<info>Enabling all cache types</info>');
35 35
 
36
-        $command = $this->getCommand(new Config($output));
37
-        $pCommand = "vagrant ssh -c '".$command."'";
36
+        $command=$this->getCommand(new Config($output));
37
+        $pCommand="vagrant ssh -c '".$command."'";
38 38
 
39 39
         return new ProcessCommand($pCommand, $this->_projectPath, $output);
40 40
     }
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     protected function getCommand(Config $config)
48 48
     {
49
-        $type = $config->type;
49
+        $type=$config->type;
50 50
         switch ($type) {
51 51
             case 'magento':
52 52
                 return 'cd /var/www/public;../bin/n98-magerun.phar cache:enable';
Please login to merge, or discard this patch.
src/Magestead/Command/Cache/DisableCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
     protected function configure()
20 20
     {
21
-        $this->_projectPath = getcwd();
21
+        $this->_projectPath=getcwd();
22 22
         $this->setName('cache:enable');
23 23
         $this->setDescription('Enable cache types');
24 24
     }
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
     {
34 34
         $output->writeln('<info>Enabling all cache types</info>');
35 35
 
36
-        $command = $this->getCommand(new Config($output));
37
-        $pCommand = "vagrant ssh -c '".$command."'";
36
+        $command=$this->getCommand(new Config($output));
37
+        $pCommand="vagrant ssh -c '".$command."'";
38 38
 
39 39
         return new ProcessCommand($pCommand, $this->_projectPath, $output);
40 40
     }
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     protected function getCommand(Config $config)
48 48
     {
49
-        $type = $config->type;
49
+        $type=$config->type;
50 50
         switch ($type) {
51 51
             case 'magento':
52 52
                 return 'cd /var/www/public;../bin/n98-magerun.phar cache:enable';
Please login to merge, or discard this patch.
src/Magestead/Command/Cache/CleanCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
     protected function configure()
20 20
     {
21
-        $this->_projectPath = getcwd();
21
+        $this->_projectPath=getcwd();
22 22
         $this->setName('cache:enable');
23 23
         $this->setDescription('Enable cache types');
24 24
     }
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
     {
34 34
         $output->writeln('<info>Enabling all cache types</info>');
35 35
 
36
-        $command = $this->getCommand(new Config($output));
37
-        $pCommand = "vagrant ssh -c '".$command."'";
36
+        $command=$this->getCommand(new Config($output));
37
+        $pCommand="vagrant ssh -c '".$command."'";
38 38
 
39 39
         return new ProcessCommand($pCommand, $this->_projectPath, $output);
40 40
     }
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     protected function getCommand(Config $config)
48 48
     {
49
-        $type = $config->type;
49
+        $type=$config->type;
50 50
         switch ($type) {
51 51
             case 'magento':
52 52
                 return 'cd /var/www/public;../bin/n98-magerun.phar cache:enable';
Please login to merge, or discard this patch.
src/Magestead/Command/Index/InfoCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
     protected function configure()
20 20
     {
21
-        $this->_projectPath = getcwd();
21
+        $this->_projectPath=getcwd();
22 22
         $this->setName('cache:enable');
23 23
         $this->setDescription('Enable cache types');
24 24
     }
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
     {
34 34
         $output->writeln('<info>Enabling all cache types</info>');
35 35
 
36
-        $command = $this->getCommand(new Config($output));
37
-        $pCommand = "vagrant ssh -c '".$command."'";
36
+        $command=$this->getCommand(new Config($output));
37
+        $pCommand="vagrant ssh -c '".$command."'";
38 38
 
39 39
         return new ProcessCommand($pCommand, $this->_projectPath, $output);
40 40
     }
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     protected function getCommand(Config $config)
48 48
     {
49
-        $type = $config->type;
49
+        $type=$config->type;
50 50
         switch ($type) {
51 51
             case 'magento':
52 52
                 return 'cd /var/www/public;../bin/n98-magerun.phar cache:enable';
Please login to merge, or discard this patch.
src/Magestead/Command/Index/StatusCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
     protected function configure()
20 20
     {
21
-        $this->_projectPath = getcwd();
21
+        $this->_projectPath=getcwd();
22 22
         $this->setName('cache:enable');
23 23
         $this->setDescription('Enable cache types');
24 24
     }
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
     {
34 34
         $output->writeln('<info>Enabling all cache types</info>');
35 35
 
36
-        $command = $this->getCommand(new Config($output));
37
-        $pCommand = "vagrant ssh -c '".$command."'";
36
+        $command=$this->getCommand(new Config($output));
37
+        $pCommand="vagrant ssh -c '".$command."'";
38 38
 
39 39
         return new ProcessCommand($pCommand, $this->_projectPath, $output);
40 40
     }
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     protected function getCommand(Config $config)
48 48
     {
49
-        $type = $config->type;
49
+        $type=$config->type;
50 50
         switch ($type) {
51 51
             case 'magento':
52 52
                 return 'cd /var/www/public;../bin/n98-magerun.phar cache:enable';
Please login to merge, or discard this patch.