Passed
Pull Request — master (#8)
by Jitendra
01:36
created
src/Console/BaseCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             $validator = null;
32 32
         }
33 33
 
34
-        $question->setValidator($validator ?: function ($value) use ($values) {
34
+        $question->setValidator($validator ?: function($value) use ($values) {
35 35
             if (empty($value)) {
36 36
                 throw new \InvalidArgumentException('Please provide non empty value');
37 37
             }
Please login to merge, or discard this patch.
src/Console/InitCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
 
146 146
         $this->input->setOption('email', $this->input->getOption('email') ?: $this->prompt(
147 147
             'Vendor email',
148
-             $this->git->getConfig('user.email')
148
+                $this->git->getConfig('user.email')
149 149
         ));
150 150
 
151 151
         $this->input->setOption('description', $this->input->getOption('description') ?: $this->prompt(
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@
 block discarded – undo
236 236
 
237 237
     protected function collectPackages()
238 238
     {
239
-        $fn = function ($pkg) {
239
+        $fn = function($pkg) {
240 240
             if (!empty($pkg) && strpos($pkg, '/') === false) {
241 241
                 throw new \InvalidArgumentException(
242 242
                     'Package name format should be vendor/package:version (version can be omitted)'
Please login to merge, or discard this patch.
src/Util/Executable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 
63 63
         $proc->setPty(true);
64 64
 
65
-        $proc->run(!$this->output ? null : function ($type, $buffer) use ($self) {
65
+        $proc->run(!$this->output ? null : function($type, $buffer) use ($self) {
66 66
             $self->output->write($buffer);
67 67
         });
68 68
 
Please login to merge, or discard this patch.