Completed
Push — master ( 973e37...678a9c )
by Jitendra
01:47
created
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/Util/Executable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
 
80 80
         $pathUtil = new Path;
81 81
 
82
-        $proc->run(function ($type, $data) use ($pathUtil) {
82
+        $proc->run(function($type, $data) use ($pathUtil) {
83 83
             if ($this->logFile) {
84 84
                 $pathUtil->writeFile($this->logFile, $data, \FILE_APPEND);
85 85
             }
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
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
     protected function missingOptions(array $config)
66 66
     {
67
-        return \array_filter($this->userOptions(), function ($name) use ($config) {
67
+        return \array_filter($this->userOptions(), function($name) use ($config) {
68 68
             return false !== ($config[$name] ?? null) && \in_array($this->$name, [null, []], true);
69 69
         }, \ARRAY_FILTER_USE_KEY);
70 70
     }
Please login to merge, or discard this patch.
src/Generator/TwigGenerator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -111,15 +111,15 @@  discard block
 block discarded – undo
111 111
             $options
112 112
         );
113 113
 
114
-        $this->twig->addFilter(new \Twig_SimpleFilter('snake', function ($x) {
114
+        $this->twig->addFilter(new \Twig_SimpleFilter('snake', function($x) {
115 115
             return $this->inflector->snakeCase($x);
116 116
         }));
117 117
 
118
-        $this->twig->addFilter(new \Twig_SimpleFilter('lcfirst', function ($x) {
118
+        $this->twig->addFilter(new \Twig_SimpleFilter('lcfirst', function($x) {
119 119
             return \lcfirst($x);
120 120
         }));
121 121
 
122
-        $this->twig->addFunction(new \Twig_Function('gmdate', function ($f = null) {
122
+        $this->twig->addFunction(new \Twig_Function('gmdate', function($f = null) {
123 123
             return \gmdate($f ?? 'Y-m-d H:i:s');
124 124
         }));
125 125
     }
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         $templates = [];
130 130
         $finder    = new Finder;
131 131
 
132
-        $finder->files()->ignoreDotFiles(false)->filter(function ($file) {
132
+        $finder->files()->ignoreDotFiles(false)->filter(function($file) {
133 133
             return \substr($file, -5) === '.twig';
134 134
         });
135 135
 
Please login to merge, or discard this patch.