Passed
Pull Request — master (#8)
by Jitendra
01:47
created
src/Generator/TwigGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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
 
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.
src/Console/BaseCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.