Completed
Push — master ( 7bb664...f6315a )
by Jefersson
04:52
created
src/Helper/IOResourcePathResolution.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
50 50
         $this->excludedFiles     = $excludedFiles;
51 51
     }
52 52
 
53
+    /**
54
+     * @return string
55
+     */
53 56
     private function getDirectory($directoryOrFile)
54 57
     {
55 58
         return is_dir($directoryOrFile) ? $directoryOrFile : dirname($directoryOrFile);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
     public function __invoke()
69 69
     {
70 70
         return array_map(
71
-            function ($directoryOrFile) {
71
+            function($directoryOrFile) {
72 72
                 $finder = Finder::create()
73 73
                     ->files()
74 74
                     ->ignoreDotFiles(true)
Please login to merge, or discard this patch.
src/Validator/RegExp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
             $matches
52 52
         );
53 53
 
54
-        if (! $didMatch) {
54
+        if (!$didMatch) {
55 55
             return false;
56 56
         }
57 57
 
Please login to merge, or discard this patch.
src/Command/Checker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,14 +79,14 @@
 block discarded – undo
79 79
         /* @var $file \Symfony\Component\Finder\SplFileInfo */
80 80
         foreach ($finder as $dir) {
81 81
             foreach ($dir as $file) {
82
-                if (! $this->docIsCompatible($validator, $file->getContents(), $docheaderFile)) {
82
+                if (!$this->docIsCompatible($validator, $file->getContents(), $docheaderFile)) {
83 83
                     $success = false;
84 84
                     $output->writeln('-> ' . $file->getRelativePathname());
85 85
                 }
86 86
             }
87 87
         }
88 88
 
89
-        if (! $success) {
89
+        if (!$success) {
90 90
             $output->writeln('');
91 91
             $output->writeln('<bg=red;fg=white>    Something goes wrong!     </>');
92 92
 
Please login to merge, or discard this patch.
src/Helper/DocheaderFileResolution.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             $pathOrFile .= DIRECTORY_SEPARATOR . '.docheader';
39 39
         }
40 40
 
41
-        if (! is_file($pathOrFile)) {
41
+        if (!is_file($pathOrFile)) {
42 42
             throw DocHeaderFileConfiguration::notFound($pathOrFile);
43 43
         }
44 44
 
Please login to merge, or discard this patch.