Completed
Pull Request — epic/2.0.0 (#37)
by Steven
03:03
created
src/Magestead/Command/Redis/FlushallCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         $output->writeln('<info>Flushing Redis Storage</info>');
32 32
 
33 33
         $command = "redis-cli flushall";
34
-        $passedCommand = "vagrant ssh -c '". $command ."'";
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     {
31 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.
src/Magestead/Command/BehatCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         }
38 38
 
39 39
         $output->writeln('<info>Running Behat</info>');
40
-        $passedCommand = "vagrant ssh -c '". $command ."'";
40
+        $passedCommand = "vagrant ssh -c '".$command."'";
41 41
         passthru($passedCommand);
42 42
     }
43 43
 
Please login to merge, or discard this patch.
provision/puphpet/magestead/magento2/add_redis_env.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@  discard block
 block discarded – undo
4 4
 $env = include $file;
5 5
 
6 6
 $env['cache'] =  
7
-	array (
7
+	array(
8 8
 		'frontend' => 
9
-		array (
9
+		array(
10 10
 			'default' => 
11
-			array (
11
+			array(
12 12
 				'backend' => 'Cm_Cache_Backend_Redis',
13 13
     		'backend_options' => 
14
-    		array (
14
+    		array(
15 15
 					'server' => '127.0.0.1',
16 16
 					'port' => '6379',
17 17
 					'persistent' => '',
@@ -27,10 +27,10 @@  discard block
 block discarded – undo
27 27
         )
28 28
 			),
29 29
 			'page_cache' => 
30
-			array (
30
+			array(
31 31
 	      'backend' => 'Cm_Cache_Backend_Redis',
32 32
 	      'backend_options' => 
33
-		    array (
33
+		    array(
34 34
 					'server' => '127.0.0.1',
35 35
 					'port' => '6379',
36 36
 					'persistent' => '',
@@ -48,4 +48,4 @@  discard block
 block discarded – undo
48 48
 		)
49 49
 	);
50 50
 
51
-file_put_contents($file, "<?php \n \n return ".var_export($env,true).";");
51
+file_put_contents($file, "<?php \n \n return ".var_export($env, true).";");
Please login to merge, or discard this patch.