Completed
Pull Request — master (#6)
by Jefersson
07:01
created
src/Helper/FileResolve.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     public function __invoke()
57 57
     {
58 58
         return array_map(
59
-            function ($directoryOrFile) {
59
+            function($directoryOrFile) {
60 60
                 return Finder::create()
61 61
                     ->files()
62 62
                     ->in($this->getDirectory($directoryOrFile))
Please login to merge, or discard this patch.
src/Filter/Filter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     public function applyFilters()
47 47
     {
48 48
         array_map(
49
-            function ($filterName) {
49
+            function($filterName) {
50 50
                 $this->docheader = (new $filterName)->__invoke($this->docheader);
51 51
             },
52 52
             $this->defaultFilters
Please login to merge, or discard this patch.
src/Command/Checker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         /* @var $file \Symfony\Component\Finder\SplFileInfo */
60 60
         foreach ($finder as $directory) {
61 61
             foreach ($directory as $file) {
62
-                if (! $validator->__invoke($file->getContents())
62
+                if (!$validator->__invoke($file->getContents())
63 63
                     || false === strpos($file->getContents(), $this->header)) {
64 64
                     defined('FAILED') ?: define('FAILED', 1);
65 65
                     $output->writeln('-> ' . $file->getRelativePathname());
Please login to merge, or discard this patch.
src/Validator/Regex.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             $matches
45 45
         );
46 46
 
47
-        if (! $didMatch) {
47
+        if (!$didMatch) {
48 48
             return true;
49 49
         }
50 50
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
             $matchable = str_replace($sentence, $match, $this->pattern);
56 56
 
57
-            if (! preg_match('{' . $matchable . '}', $docheader, $m)) {
57
+            if (!preg_match('{' . $matchable . '}', $docheader, $m)) {
58 58
                 return false;
59 59
             }
60 60
         }
Please login to merge, or discard this patch.