Completed
Push — master ( 7635b2...3b347d )
by Sebastian
03:09
created
src/Backup/Sync/AmazonS3.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     {
127 127
         foreach (['key', 'secret', 'bucket', 'region', 'path'] as $option) {
128 128
             if (!Arr::isSetAndNotEmptyString($config, $option)) {
129
-                throw new Exception('AWS S3 ' . $option . ' is mandatory');
129
+                throw new Exception('AWS S3 '.$option.' is mandatory');
130 130
             }
131 131
         }
132 132
     }
@@ -150,11 +150,11 @@  discard block
 block discarded – undo
150 150
     public function simulate(Target $target, Result $result)
151 151
     {
152 152
         $result->debug(
153
-            'sync backup to Amazon S3' . PHP_EOL
154
-            . '  region:   ' . $this->region . PHP_EOL
155
-            . '  key:      ' . $this->key . PHP_EOL
156
-            . '  secret:    ********' . PHP_EOL
157
-            . '  location: ' . $this->bucket
153
+            'sync backup to Amazon S3'.PHP_EOL
154
+            . '  region:   '.$this->region.PHP_EOL
155
+            . '  key:      '.$this->key.PHP_EOL
156
+            . '  secret:    ********'.PHP_EOL
157
+            . '  location: '.$this->bucket
158 158
         );
159 159
     }
160 160
 
Please login to merge, or discard this patch.
src/Backup/Cleaner/Capacity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
         // should the currently created backup be deleted as well?
131 131
         if ($this->deleteTarget) {
132 132
             $file          = $target->toFile();
133
-            $index         = date('YmdHis', $file->getMTime()) . '-' . count($files) . '-' . $file->getPathname();
133
+            $index         = date('YmdHis', $file->getMTime()).'-'.count($files).'-'.$file->getPathname();
134 134
             $files[$index] = $file;
135 135
         }
136 136
         return $files;
Please login to merge, or discard this patch.