@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | |
17 | 17 | protected function configure() |
18 | 18 | { |
19 | - $this->_projectPath = getcwd(); |
|
19 | + $this->_projectPath=getcwd(); |
|
20 | 20 | |
21 | 21 | $this->setName("phpspec"); |
22 | 22 | $this->setDescription("Run PHPSpec against your project"); |
@@ -30,15 +30,15 @@ discard block |
||
30 | 30 | */ |
31 | 31 | protected function execute(InputInterface $input, OutputInterface $output) |
32 | 32 | { |
33 | - $option = $input->getArgument('option'); |
|
33 | + $option=$input->getArgument('option'); |
|
34 | 34 | |
35 | - $command = $this->getCommand(new Config($output), $option); |
|
35 | + $command=$this->getCommand(new Config($output), $option); |
|
36 | 36 | if (!$command) { |
37 | 37 | return $output->writeln('<error>Command not available for this application</error>'); |
38 | 38 | } |
39 | 39 | |
40 | 40 | $output->writeln('<info>Running PHPSpec</info>'); |
41 | - $passedCommand = "vagrant ssh -c '". $command ."'"; |
|
41 | + $passedCommand="vagrant ssh -c '".$command."'"; |
|
42 | 42 | passthru($passedCommand); |
43 | 43 | } |
44 | 44 | |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | protected function getCommand(Config $config, $option) |
51 | 51 | { |
52 | - $type = $config->type; |
|
52 | + $type=$config->type; |
|
53 | 53 | switch ($type) { |
54 | 54 | case 'magento': |
55 | 55 | return "cd /var/www;bin/phpspec $option"; |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | |
17 | 17 | protected function configure() |
18 | 18 | { |
19 | - $this->_projectPath = getcwd(); |
|
19 | + $this->_projectPath=getcwd(); |
|
20 | 20 | |
21 | 21 | $this->setName("behat"); |
22 | 22 | $this->setDescription("Run Behat against your project"); |
@@ -30,14 +30,14 @@ discard block |
||
30 | 30 | */ |
31 | 31 | protected function execute(InputInterface $input, OutputInterface $output) |
32 | 32 | { |
33 | - $option = $input->getArgument('option'); |
|
34 | - $command = $this->getCommand(new Config($output), $option); |
|
33 | + $option=$input->getArgument('option'); |
|
34 | + $command=$this->getCommand(new Config($output), $option); |
|
35 | 35 | if (!$command) { |
36 | 36 | return $output->writeln('<error>Command not available for this application</error>'); |
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 | |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | protected function getCommand(Config $config, $option) |
50 | 50 | { |
51 | - $type = $config->type; |
|
51 | + $type=$config->type; |
|
52 | 52 | switch ($type) { |
53 | 53 | case 'magento': |
54 | 54 | return "cd /var/www;bin/behat $option"; |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | |
17 | 17 | protected function configure() |
18 | 18 | { |
19 | - $this->_projectPath = getcwd(); |
|
19 | + $this->_projectPath=getcwd(); |
|
20 | 20 | |
21 | 21 | $this->setName("vm:run"); |
22 | 22 | $this->setDescription("Run commands on your development machine via SSH"); |
@@ -30,10 +30,10 @@ discard block |
||
30 | 30 | */ |
31 | 31 | protected function execute(InputInterface $input, OutputInterface $output) |
32 | 32 | { |
33 | - $command = $input->getArgument('ssh-command'); |
|
33 | + $command=$input->getArgument('ssh-command'); |
|
34 | 34 | $output->writeln('<info>Running "'.$command.'" on Magestead</info>'); |
35 | 35 | |
36 | - $passedCommand = "vagrant ssh -c '". $command ."'"; |
|
36 | + $passedCommand="vagrant ssh -c '".$command."'"; |
|
37 | 37 | return new ProcessCommand($passedCommand, $this->_projectPath, $output); |
38 | 38 | } |
39 | 39 | } |
@@ -15,7 +15,7 @@ |
||
15 | 15 | |
16 | 16 | protected function configure() |
17 | 17 | { |
18 | - $this->_projectPath = getcwd(); |
|
18 | + $this->_projectPath=getcwd(); |
|
19 | 19 | |
20 | 20 | $this->setName("vm:halt"); |
21 | 21 | $this->setDescription("Halt your development machine"); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | protected function configure() |
16 | 16 | { |
17 | - $this->_projectPath = getcwd(); |
|
17 | + $this->_projectPath=getcwd(); |
|
18 | 18 | |
19 | 19 | $this->setName("vm:ssh"); |
20 | 20 | $this->setDescription("Login to your development machine with SSH"); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | protected function configure() |
20 | 20 | { |
21 | - $this->_projectPath = getcwd(); |
|
21 | + $this->_projectPath=getcwd(); |
|
22 | 22 | |
23 | 23 | $this->setName("vm:destroy"); |
24 | 24 | $this->setDescription("Destroy your development machine"); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | |
16 | 16 | protected function configure() |
17 | 17 | { |
18 | - $this->_projectPath = getcwd(); |
|
18 | + $this->_projectPath=getcwd(); |
|
19 | 19 | |
20 | 20 | $this->setName("vm:status"); |
21 | 21 | $this->setDescription("Get the status of your development machine"); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | |
16 | 16 | protected function configure() |
17 | 17 | { |
18 | - $this->_projectPath = getcwd(); |
|
18 | + $this->_projectPath=getcwd(); |
|
19 | 19 | |
20 | 20 | $this->setName("vm:suspend"); |
21 | 21 | $this->setDescription("Suspend your development machine"); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | |
16 | 16 | protected function configure() |
17 | 17 | { |
18 | - $this->_projectPath = getcwd(); |
|
18 | + $this->_projectPath=getcwd(); |
|
19 | 19 | |
20 | 20 | $this->setName("vm:resume"); |
21 | 21 | $this->setDescription("Resume your suspended development machine"); |