@@ -100,7 +100,7 @@ discard block |
||
| 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 | } |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | $templates = []; |
| 111 | 111 | $finder = new Finder; |
| 112 | 112 | |
| 113 | - $finder->files()->ignoreDotFiles(false)->filter(function ($file) { |
|
| 113 | + $finder->files()->ignoreDotFiles(false)->filter(function($file) { |
|
| 114 | 114 | return \substr($file, -5) === '.twig'; |
| 115 | 115 | }); |
| 116 | 116 | |
@@ -49,7 +49,7 @@ |
||
| 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 | } |
@@ -25,7 +25,7 @@ |
||
| 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') |