Passed
Branch master (d05c4a)
by Adrian Florin
03:53 queued 54s
created
src/Helper/PathHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     public function normalizePathSeparator(string $path): string
34 34
     {
35 35
         $path = preg_replace('#(\\\|\/)#', DIRECTORY_SEPARATOR, $path);
36
-        return preg_replace('#' . DIRECTORY_SEPARATOR . '{2,}#', DIRECTORY_SEPARATOR, $path);
36
+        return preg_replace('#'.DIRECTORY_SEPARATOR.'{2,}#', DIRECTORY_SEPARATOR, $path);
37 37
     }
38 38
 
39 39
     /**
Please login to merge, or discard this patch.
src/File.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             );
77 77
         }
78 78
         list($this->name, $this->extension) = $pathHelper->splitFilename($filename);
79
-        $this->hasExtension = (bool)$this->extension;
79
+        $this->hasExtension = (bool) $this->extension;
80 80
     }
81 81
 
82 82
     /**
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
         if (false === $this->hasExtension()) {
207 207
             return $this->name;
208 208
         }
209
-        return $this->name . static::EXTENSION_SEPARATOR . $this->extension;
209
+        return $this->name.static::EXTENSION_SEPARATOR.$this->extension;
210 210
     }
211 211
 
212 212
     /**
Please login to merge, or discard this patch.