Passed
Push — master ( e89c08...6e34a4 )
by Sergey
01:47
created
Filesystem.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     {
112 112
         $result = [];
113 113
 
114
-        if ( ! is_dir($directory)) {
114
+        if (!is_dir($directory)) {
115 115
             return [];
116 116
         }
117 117
 
@@ -322,9 +322,9 @@  discard block
 block discarded – undo
322 322
                 $_path = str_replace($path, "", $splFileinfo->getPathname());
323 323
 
324 324
                 if ($splFileinfo->isDir()) {
325
-                    mkdir($newpath . "/" . $_path);
325
+                    mkdir($newpath."/".$_path);
326 326
                 } else {
327
-                    copy($fullPath, $newpath . "/" . $_path);
327
+                    copy($fullPath, $newpath."/".$_path);
328 328
                 }
329 329
             }
330 330
         } else {
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
         if ($normalized['type'] === 'file') {
420 420
             $normalized['size'] = $file->getSize();
421 421
             $normalized['filename'] = $file->getFilename();
422
-            $normalized['basename'] = $file->getBasename('.' . $file->getExtension());
422
+            $normalized['basename'] = $file->getBasename('.'.$file->getExtension());
423 423
             $normalized['extension'] = $file->getExtension();
424 424
         }
425 425
 
Please login to merge, or discard this patch.