@@ -60,7 +60,7 @@ |
||
| 60 | 60 | $self = $this; |
| 61 | 61 | $proc = new Process($this->binary . ' ' . $command, $this->workDir, null, null, null); |
| 62 | 62 | |
| 63 | - $proc->run(!$this->output ? null : function ($type, $buffer) use ($self) { |
|
| 63 | + $proc->run(!$this->output ? null : function($type, $buffer) use ($self) { |
|
| 64 | 64 | $self->output->write($buffer); |
| 65 | 65 | }); |
| 66 | 66 | |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | $finder = new Finder; |
| 62 | 62 | $templates = []; |
| 63 | 63 | |
| 64 | - $finder->files()->ignoreDotFiles(false)->filter(function ($file) { |
|
| 64 | + $finder->files()->ignoreDotFiles(false)->filter(function($file) { |
|
| 65 | 65 | return \substr($file, -5) === '.twig'; |
| 66 | 66 | }); |
| 67 | 67 | |
@@ -31,7 +31,7 @@ |
||
| 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 | } |
@@ -145,7 +145,7 @@ |
||
| 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( |
@@ -225,7 +225,7 @@ |
||
| 225 | 225 | } |
| 226 | 226 | |
| 227 | 227 | if ($key === 'vendor_namespace') { |
| 228 | - putenv('VENDOR_NAMESPACE='.$value); |
|
| 228 | + putenv('VENDOR_NAMESPACE=' . $value); |
|
| 229 | 229 | } |
| 230 | 230 | } |
| 231 | 231 | } |