Completed
Push — master ( a2efe5...fbaaf9 )
by Sergi Tur
02:47
created
bootstrap/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require __DIR__.'/../vendor/autoload.php';
3
+require __DIR__ . '/../vendor/autoload.php';
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.
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/InstallCommand.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -60,20 +60,20 @@  discard block
 block discarded – undo
60 60
         $composer = $this->findComposer();
61 61
 
62 62
         $commands = [
63
-            $composer.' require '.$this->getPackageName().$this->getDevSuffix($input),
64
-            $composer.' require --dev laravel/dusk',
63
+            $composer . ' require ' . $this->getPackageName() . $this->getDevSuffix($input),
64
+            $composer . ' require --dev laravel/dusk',
65 65
         ];
66 66
 
67 67
         if ($input->getOption('no-ansi')) {
68
-            $commands = array_map(function ($value) {
69
-                return $value.' --no-ansi';
68
+            $commands = array_map(function($value) {
69
+                return $value . ' --no-ansi';
70 70
             }, $commands);
71 71
         }
72 72
 
73 73
         $force = $input->getOption('dontforce') ? '' : ' --force';
74 74
         $commands = array_merge($commands, [
75 75
             'php artisan dusk:install',
76
-            'php artisan adminlte:publish'.$force,
76
+            'php artisan adminlte:publish' . $force,
77 77
         ]);
78 78
 
79 79
         $process = new Process(
@@ -88,8 +88,8 @@  discard block
 block discarded – undo
88 88
             $process->setTty(true);
89 89
         }
90 90
 
91
-        $output->writeln('<info>Running '.$runningCommand.'</info>');
92
-        $process->run(function ($type, $line) use ($output) {
91
+        $output->writeln('<info>Running ' . $runningCommand . '</info>');
92
+        $process->run(function($type, $line) use ($output) {
93 93
             $output->write($line);
94 94
         });
95 95
     }
Please login to merge, or discard this patch.