Completed
Pull Request — master (#145)
by Vitaly
03:53
created
src/Backup/Collector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         $pathRegex = Util\Path::datePlaceholdersToRegex($rawPath);
63 63
         $pathRegex .= $pathRegex ? '/' : '';
64 64
         $fileRegex = Util\Path::datePlaceholdersToRegex($this->target->getFilenameRaw());
65
-        return preg_match('#'.$pathRegex . $fileRegex . '$#i', $targetPath);
65
+        return preg_match('#' . $pathRegex . $fileRegex . '$#i', $targetPath);
66 66
     }
67 67
 
68 68
     /**
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     protected function isFilenameMatch(string $filename): bool
75 75
     {
76
-        return preg_match('#'.$this->fileRegex . '#i', $filename);
76
+        return preg_match('#' . $this->fileRegex . '#i', $filename);
77 77
     }
78 78
 
79 79
     /**
Please login to merge, or discard this patch.