Completed
Push — master ( 9fad7c...f2bd1d )
by Sergi Tur
13:32 queued 11s
created
src/Console/InstallCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,9 +81,9 @@
 block discarded – undo
81 81
         }
82 82
 
83 83
         $output->writeln(
84
-            '<info>Running composer require ' . $package .'</info>'
84
+            '<info>Running composer require ' . $package . '</info>'
85 85
         );
86
-        $process->run(function ($type, $line) use ($output) {
86
+        $process->run(function($type, $line) use ($output) {
87 87
             $output->write($line);
88 88
         });
89 89
 
Please login to merge, or discard this patch.
src/Console/SocialCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,15 +52,15 @@
 block discarded – undo
52 52
     protected function execute(InputInterface $input, OutputInterface $output)
53 53
     {
54 54
         $process = new Process(
55
-            $this->findComposer() .' require ' . $package = $this->getPackageName() . $this->getDevSuffix($input),
55
+            $this->findComposer() . ' require ' . $package = $this->getPackageName() . $this->getDevSuffix($input),
56 56
             null,
57 57
             null,
58 58
             null,
59 59
             null
60 60
         );
61 61
 
62
-        $output->writeln('<info>Running composer require ' . $package .'</info>');
63
-        $process->run(function ($type, $line) use ($output) {
62
+        $output->writeln('<info>Running composer require ' . $package . '</info>');
63
+        $process->run(function($type, $line) use ($output) {
64 64
             $output->write($line);
65 65
         });
66 66
 
Please login to merge, or discard this patch.
src/Console/Traits/UseComposer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
      */
17 17
     protected function findComposer()
18 18
     {
19
-        if (file_exists(getcwd().'/composer.phar')) {
20
-            return '"'.PHP_BINARY.'" composer.phar"';
19
+        if (file_exists(getcwd() . '/composer.phar')) {
20
+            return '"' . PHP_BINARY . '" composer.phar"';
21 21
         }
22 22
 
23 23
         return 'composer';
Please login to merge, or discard this patch.