@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * @param Config $config |
| 37 | - * @return bool|string |
|
| 37 | + * @return string|false |
|
| 38 | 38 | */ |
| 39 | 39 | protected function getCommand(Config $config) |
| 40 | 40 | { |
@@ -37,7 +37,7 @@ |
||
| 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 | |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * @param Config $config |
| 37 | - * @return bool|string |
|
| 37 | + * @return string|false |
|
| 38 | 38 | */ |
| 39 | 39 | protected function getCommand(Config $config) |
| 40 | 40 | { |
@@ -37,7 +37,7 @@ |
||
| 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 | |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * @param Config $config |
| 37 | - * @return bool|string |
|
| 37 | + * @return string|false |
|
| 38 | 38 | */ |
| 39 | 39 | protected function getCommand(Config $config) |
| 40 | 40 | { |
@@ -37,7 +37,7 @@ |
||
| 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 | |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * @param Config $config |
| 37 | - * @return bool|string |
|
| 37 | + * @return string|false |
|
| 38 | 38 | */ |
| 39 | 39 | protected function getCommand(Config $config) |
| 40 | 40 | { |
@@ -37,7 +37,7 @@ |
||
| 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 | |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * @param Config $config |
| 37 | - * @return bool|string |
|
| 37 | + * @return string|false |
|
| 38 | 38 | */ |
| 39 | 39 | protected function getCommand(Config $config) |
| 40 | 40 | { |
@@ -37,7 +37,7 @@ |
||
| 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 | |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * @param Config $config |
| 37 | - * @return bool|string |
|
| 37 | + * @return string|false |
|
| 38 | 38 | */ |
| 39 | 39 | protected function getCommand(Config $config) |
| 40 | 40 | { |
@@ -37,7 +37,7 @@ |
||
| 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 | |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * @param Config $config |
| 37 | - * @return bool|string |
|
| 37 | + * @return string|false |
|
| 38 | 38 | */ |
| 39 | 39 | protected function getCommand(Config $config) |
| 40 | 40 | { |
@@ -37,7 +37,7 @@ |
||
| 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 | |
@@ -9,8 +9,8 @@ |
||
| 9 | 9 | /** |
| 10 | 10 | * @param array $options |
| 11 | 11 | * @param array $config |
| 12 | - * @param $projectPath |
|
| 13 | - * @param $output |
|
| 12 | + * @param string $projectPath |
|
| 13 | + * @param \Symfony\Component\Console\Output\OutputInterface $output |
|
| 14 | 14 | * @return Magento2Project|MagentoProject |
| 15 | 15 | */ |
| 16 | 16 | public static function create(array $options, array $config, $projectPath, $output) |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | */ |
| 50 | 50 | public function init() |
| 51 | 51 | { |
| 52 | - $command = 'git init; git remote add origin ' . $this->_repoUrl; |
|
| 52 | + $command = 'git init; git remote add origin '.$this->_repoUrl; |
|
| 53 | 53 | new ProcessCommand($command, $this->_projectPath, $this->_output); |
| 54 | 54 | |
| 55 | 55 | return $this; |