Completed
Push — develop ( 2c4c15...424430 )
by Steven
04:32
created
provision/puphpet/magestead/magento2/set_repo_credentials.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -6,12 +6,12 @@
 block discarded – undo
6 6
 $privateKey = "$argv[2]";
7 7
 
8 8
 $contents = [
9
-	"http-basic" => [
10
-		"repo.magento.com" => [
11
-			"username" => $publicKey,
12
-			"password" => $privateKey,
13
-		]
14
-	]
9
+    "http-basic" => [
10
+        "repo.magento.com" => [
11
+            "username" => $publicKey,
12
+            "password" => $privateKey,
13
+        ]
14
+    ]
15 15
 ];
16 16
 
17 17
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$file = "/home/vagrant/.composer/auth.json";
3
+$file="/home/vagrant/.composer/auth.json";
4 4
 
5
-$publicKey  = "$argv[1]";
6
-$privateKey = "$argv[2]";
5
+$publicKey="$argv[1]";
6
+$privateKey="$argv[2]";
7 7
 
8
-$contents = [
8
+$contents=[
9 9
 	"http-basic" => [
10 10
 		"repo.magento.com" => [
11 11
 			"username" => $publicKey,
Please login to merge, or discard this patch.
src/Magestead/Helper/HostsPluginChecker.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      */
15 15
     public static function verify(array $options, OutputInterface $output)
16 16
     {
17
-        $hostPlugin = `vagrant plugin list | grep vagrant-hostsupdater`;
17
+        $hostPlugin=`vagrant plugin list | grep vagrant-hostsupdater`;
18 18
         if (is_null($hostPlugin)) {
19 19
             self::editHostsInstructions($options, $output);
20 20
 
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
     protected static function editHostsInstructions(array $options, OutputInterface $output)
30 30
     {
31 31
         $output->writeln('<comment>NOTE: You will need to add the following to your hosts file!</comment>');
32
-        $comment = $options['vagrantfile']['vm']['network']['private_network'] .
33
-            ' ' . $options['magestead']['apps']['mba_12345']['base_url'];
34
-        $output->writeln('<info>' . $comment . '</info>');
32
+        $comment=$options['vagrantfile']['vm']['network']['private_network'].
33
+            ' '.$options['magestead']['apps']['mba_12345']['base_url'];
34
+        $output->writeln('<info>'.$comment.'</info>');
35 35
     }
36 36
 }
37 37
\ No newline at end of file
Please login to merge, or discard this patch.
src/Magestead/Command/PhpspecCommand.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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";
Please login to merge, or discard this patch.
src/Magestead/Command/VM/RunCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
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:halt");
21 21
         $this->setDescription("Halt your development machine");
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
@@ -14,7 +14,7 @@
 block discarded – undo
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");
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
@@ -18,7 +18,7 @@
 block discarded – undo
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");
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:status");
21 21
         $this->setDescription("Get the status of 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:suspend");
21 21
         $this->setDescription("Suspend your development machine");
Please login to merge, or discard this patch.