Completed
Push — master ( 39c07f...aa04c1 )
by Jitendra
11s
created
src/Console/BaseCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
     protected function missingOptions(array $config)
51 51
     {
52
-        return \array_filter($this->userOptions(), function ($name) use ($config) {
52
+        return \array_filter($this->userOptions(), function($name) use ($config) {
53 53
             return null === $this->$name && false !== ($config[$name] ?? null);
54 54
         }, \ARRAY_FILTER_USE_KEY);
55 55
     }
Please login to merge, or discard this patch.
src/Console/TestCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     protected function onConstruct()
27 27
     {
28
-        $this->_workDir  = \realpath(\getcwd());
28
+        $this->_workDir = \realpath(\getcwd());
29 29
 
30 30
         $this
31 31
             ->option('-t --no-teardown', 'Dont add teardown method')
Please login to merge, or discard this patch.
src/Generator/TwigGenerator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,11 +100,11 @@  discard block
 block discarded – undo
100 100
             $options
101 101
         );
102 102
 
103
-        $this->twig->addFilter(new \Twig_SimpleFilter('snake', function ($x) {
103
+        $this->twig->addFilter(new \Twig_SimpleFilter('snake', function($x) {
104 104
             return $this->inflector->snakeCase($x);
105 105
         }));
106 106
 
107
-        $this->twig->addFilter(new \Twig_SimpleFilter('lcfirst', function ($x) {
107
+        $this->twig->addFilter(new \Twig_SimpleFilter('lcfirst', function($x) {
108 108
             return \lcfirst($x);
109 109
         }));
110 110
     }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         $templates = [];
115 115
         $finder    = new Finder;
116 116
 
117
-        $finder->files()->ignoreDotFiles(false)->filter(function ($file) {
117
+        $finder->files()->ignoreDotFiles(false)->filter(function($file) {
118 118
             return \substr($file, -5) === '.twig';
119 119
         });
120 120
 
Please login to merge, or discard this patch.