@@ -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') |
@@ -100,11 +100,11 @@ 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 | |
| 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 |
||
| 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 | |