Completed
Pull Request — master (#658)
by Maxime
17s
created
src/Gaufrette/Adapter/GoogleCloudStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@
 block discarded – undo
270 270
      */
271 271
     public function isDirectory($key)
272 272
     {
273
-        if ($this->exists($key . '/')) {
273
+        if ($this->exists($key.'/')) {
274 274
             return true;
275 275
         }
276 276
 
Please login to merge, or discard this patch.
src/Gaufrette/Stream/InMemoryBuffer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
         } else {
90 90
             $before = substr($this->content, 0, $this->position);
91 91
             $after = $newNumBytes > $newPosition ? substr($this->content, $newPosition) : '';
92
-            $this->content = $before . $data . $after;
92
+            $this->content = $before.$data.$after;
93 93
         }
94 94
 
95 95
         $this->position = $newPosition;
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/AsyncAwsS3.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $this->ensureBucketExists();
107 107
         $options = $this->getOptions(
108 108
             $targetKey,
109
-            ['CopySource' => $this->bucket . '/' . $this->computePath($sourceKey)]
109
+            ['CopySource' => $this->bucket.'/'.$this->computePath($sourceKey)]
110 110
         );
111 111
 
112 112
         try {
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
     {
248 248
         $result = $this->service->listObjectsV2([
249 249
             'Bucket' => $this->bucket,
250
-            'Prefix' => rtrim($this->computePath($key), '/') . '/',
250
+            'Prefix' => rtrim($this->computePath($key), '/').'/',
251 251
             'MaxKeys' => 1,
252 252
         ]);
253 253
 
Please login to merge, or discard this patch.
src/Gaufrette/StreamWrapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -257,11 +257,11 @@
 block discarded – undo
257 257
         $key = !empty($parts['path']) ? substr($parts['path'], 1) : '';
258 258
 
259 259
         if (null !== $parts['query']) {
260
-            $key .= '?' . $parts['query'];
260
+            $key .= '?'.$parts['query'];
261 261
         }
262 262
 
263 263
         if (null !== $parts['fragment']) {
264
-            $key .= '#' . $parts['fragment'];
264
+            $key .= '#'.$parts['fragment'];
265 265
         }
266 266
 
267 267
         if (empty($domain) || empty($key)) {
Please login to merge, or discard this patch.