@@ -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:up"); |
21 | 21 | $this->setDescription("Spin up your development machine"); |
@@ -28,9 +28,9 @@ |
||
28 | 28 | */ |
29 | 29 | protected function run($command, $projectPath, OutputInterface $output) |
30 | 30 | { |
31 | - $process = new Process($command, $projectPath, array_merge($_SERVER, $_ENV), null, null); |
|
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 | } |
@@ -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:up"); |
21 | 21 | $this->setDescription("Spin up 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:up"); |
21 | 21 | $this->setDescription("Spin up 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:up"); |
21 | 21 | $this->setDescription("Spin up 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:up"); |
21 | 21 | $this->setDescription("Spin up 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:up"); |
21 | 21 | $this->setDescription("Spin up 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:up"); |
21 | 21 | $this->setDescription("Spin up your development machine"); |
@@ -20,9 +20,9 @@ discard block |
||
20 | 20 | */ |
21 | 21 | public function __construct($repoUrl, $projectPath, OutputInterface $output) |
22 | 22 | { |
23 | - $this->_repoUrl = $repoUrl; |
|
24 | - $this->_projectPath = $projectPath; |
|
25 | - $this->_output = $output; |
|
23 | + $this->_repoUrl=$repoUrl; |
|
24 | + $this->_projectPath=$projectPath; |
|
25 | + $this->_output=$output; |
|
26 | 26 | |
27 | 27 | $this->execute($output); |
28 | 28 | } |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public function init() |
54 | 54 | { |
55 | - $command = 'git init; git remote add origin '.$this->_repoUrl; |
|
55 | + $command='git init; git remote add origin '.$this->_repoUrl; |
|
56 | 56 | new ProcessCommand($command, $this->_projectPath, $this->_output); |
57 | 57 | |
58 | 58 | return $this; |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | public function addFiles() |
67 | 67 | { |
68 | - $command = 'git add -A'; |
|
68 | + $command='git add -A'; |
|
69 | 69 | new ProcessCommand($command, $this->_projectPath, $this->_output); |
70 | 70 | |
71 | 71 | return $this; |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | public function commitFiles() |
80 | 80 | { |
81 | - $command = "git commit -m 'Initial commit'"; |
|
81 | + $command="git commit -m 'Initial commit'"; |
|
82 | 82 | new ProcessCommand($command, $this->_projectPath, $this->_output); |
83 | 83 | |
84 | 84 | return $this; |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | */ |
92 | 92 | public function pushFiles() |
93 | 93 | { |
94 | - $command = 'git push -u origin master'; |
|
94 | + $command='git push -u origin master'; |
|
95 | 95 | new ProcessCommand($command, $this->_projectPath, $this->_output); |
96 | 96 | |
97 | 97 | return $this; |