Passed
Pull Request — master (#43)
by Jitendra
01:52
created
src/Util/Path.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
         $ext    = '.' . \ltrim($ext, '.');
118 118
         $len    = \strlen($ext);
119 119
 
120
-        $finder->files()->ignoreDotFiles($dotfiles)->filter(function ($file) use ($ext, $len) {
120
+        $finder->files()->ignoreDotFiles($dotfiles)->filter(function($file) use ($ext, $len) {
121 121
             return \substr($file, -$len) === $ext;
122 122
         });
123 123
 
Please login to merge, or discard this patch.
src/Console/DocsCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     protected function onConstruct()
33 33
     {
34
-        $this->_workDir  = \realpath(\getcwd());
34
+        $this->_workDir = \realpath(\getcwd());
35 35
 
36 36
         $this
37 37
             ->option('-o --output', "Output file (default README.md)\nFor old project you should use something else")
Please login to merge, or discard this patch.
src/Generator/TwigGenerator.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -112,23 +112,23 @@  discard block
 block discarded – undo
112 112
             $options
113 113
         );
114 114
 
115
-        $this->twig->addFilter(new \Twig_SimpleFilter('snake', function ($x) {
115
+        $this->twig->addFilter(new \Twig_SimpleFilter('snake', function($x) {
116 116
             return $this->inflector->snakeCase($x);
117 117
         }));
118 118
 
119
-        $this->twig->addFilter(new \Twig_SimpleFilter('lcfirst', function ($x) {
119
+        $this->twig->addFilter(new \Twig_SimpleFilter('lcfirst', function($x) {
120 120
             return \lcfirst($x);
121 121
         }));
122 122
 
123
-        $this->twig->addFilter(new \Twig_SimpleFilter('ucfirst', function ($x) {
123
+        $this->twig->addFilter(new \Twig_SimpleFilter('ucfirst', function($x) {
124 124
             return \ucfirst($x);
125 125
         }));
126 126
 
127
-        $this->twig->addFunction(new \Twig_Function('gmdate', function ($f = null) {
127
+        $this->twig->addFunction(new \Twig_Function('gmdate', function($f = null) {
128 128
             return \gmdate($f ?? 'Y-m-d H:i:s');
129 129
         }));
130 130
 
131
-        $this->twig->addFilter(new \Twig_SimpleFilter('call', function ($fn) {
131
+        $this->twig->addFilter(new \Twig_SimpleFilter('call', function($fn) {
132 132
             return $fn(\array_slice(\func_get_args(), 1));
133 133
         }));
134 134
     }
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
         $templates = [];
139 139
         $finder    = new Finder;
140 140
 
141
-        $finder->files()->ignoreDotFiles(false)->filter(function ($file) {
141
+        $finder->files()->ignoreDotFiles(false)->filter(function($file) {
142 142
             return \substr($file, -5) === '.twig';
143 143
         });
144 144
 
Please login to merge, or discard this patch.