Completed
Push — analysis-zGPgQ2 ( 3b9df4 )
by Steven
02:50
created
src/Magestead/Command/VM/UpCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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");
Please login to merge, or discard this patch.
src/Magestead/Command/ProcessCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Magestead/Command/VM/SshCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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");
Please login to merge, or discard this patch.
src/Magestead/Command/VM/HaltCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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");
Please login to merge, or discard this patch.
src/Magestead/Command/VM/DestroyCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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");
Please login to merge, or discard this patch.
src/Magestead/Command/VM/StatusCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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");
Please login to merge, or discard this patch.
src/Magestead/Command/VM/ResumeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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");
Please login to merge, or discard this patch.
src/Magestead/Command/VM/SuspendCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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");
Please login to merge, or discard this patch.
src/Magestead/Service/VersionControl.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.