Passed
Push — master ( a4a58e...30c82e )
by Krisztián
02:29
created
src/Storage/Bucket.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
     {
46 46
         $contents = "";
47 47
         $handle = fopen($this->backupDir."/".$key.".dat", "r+");
48
-        if(is_resource($handle)) {
49
-            while(!feof($handle)) {
48
+        if (is_resource($handle)) {
49
+            while (!feof($handle)) {
50 50
                 $contents .= fread($handle, 32);
51 51
             }
52 52
         }
Please login to merge, or discard this patch.
src/Storage/Maintainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     private function backupToFile($bucket)
89 89
     {
90 90
         foreach ($bucket->getEntries() as $key => $entry) {
91
-            file_put_contents($this->backupDir . '/' . $key . '.dat',
91
+            file_put_contents($this->backupDir.'/'.$key.'.dat',
92 92
                     serialize($entry));
93 93
         }
94 94
     }
Please login to merge, or discard this patch.