@@ -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 | |
@@ -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( |
@@ -236,7 +236,7 @@ |
||
| 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)' |
@@ -62,7 +62,7 @@ |
||
| 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 | |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | $question = new Question($prompt . ': ', $default); |
| 32 | 32 | |
| 33 | - $question->setValidator($validator ?: function ($value) use ($values) { |
|
| 33 | + $question->setValidator($validator ?: function($value) use ($values) { |
|
| 34 | 34 | if (empty($value)) { |
| 35 | 35 | throw new \InvalidArgumentException('Please provide non empty value'); |
| 36 | 36 | } |