Completed
Pull Request — master (#617)
by Nicolas
06:28 queued 03:35
created
src/Gaufrette/Adapter/AmazonS3.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
  */
20 20
 class AmazonS3 implements
21 21
     Adapter,
22
-                          MetadataSupporter
22
+                            MetadataSupporter
23 23
 {
24 24
     protected $service;
25 25
     protected $bucket;
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 use AmazonS3 as AmazonClient;
6 6
 use Gaufrette\Adapter;
7 7
 
8
-@trigger_error('The ' . __NAMESPACE__ . '\AmazonS3 adapter is deprecated since version 0.4 and will be removed in 1.0. Use the AwsS3 adapter instead.', E_USER_DEPRECATED);
8
+@trigger_error('The '.__NAMESPACE__.'\AmazonS3 adapter is deprecated since version 0.4 and will be removed in 1.0. Use the AwsS3 adapter instead.', E_USER_DEPRECATED);
9 9
 
10 10
 /**
11 11
  * Amazon S3 adapter using the AWS SDK for PHP v1.x.
@@ -125,11 +125,11 @@  discard block
 block discarded – undo
125 125
         $this->ensureBucketExists();
126 126
 
127 127
         $response = $this->service->copy_object(
128
-            [ // source
128
+            [// source
129 129
                 'bucket' => $this->bucket,
130 130
                 'filename' => $this->computePath($sourceKey),
131 131
             ],
132
-            [ // target
132
+            [// target
133 133
                 'bucket' => $this->bucket,
134 134
                 'filename' => $this->computePath($targetKey),
135 135
             ],
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
      */
237 237
     public function isDirectory($key)
238 238
     {
239
-        if ($this->exists($key . '/')) {
239
+        if ($this->exists($key.'/')) {
240 240
             return true;
241 241
         }
242 242
 
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/Sftp.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  */
13 13
 class Sftp implements
14 14
     Adapter,
15
-                      ChecksumCalculator
15
+                        ChecksumCalculator
16 16
 {
17 17
     protected $sftp;
18 18
     protected $directory;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 use Gaufrette\Adapter;
6 6
 use Ssh\Sftp as SftpClient;
7 7
 
8
-@trigger_error('The ' . __NAMESPACE__ . '\Sftp adapter is deprecated since version 0.4 and will be removed in 1.0.', E_USER_DEPRECATED);
8
+@trigger_error('The '.__NAMESPACE__.'\Sftp adapter is deprecated since version 0.4 and will be removed in 1.0.', E_USER_DEPRECATED);
9 9
 
10 10
 /**
11 11
  * @deprecated The Sftp adapter is deprecated since version 0.4 and will be removed in 1.0.
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
      */
178 178
     protected function computePath($key)
179 179
     {
180
-        return $this->directory . '/' . ltrim($key, '/');
180
+        return $this->directory.'/'.ltrim($key, '/');
181 181
     }
182 182
 
183 183
     /**
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/LazyOpenCloud.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Gaufrette\Adapter\OpenStackCloudFiles\ObjectStoreFactoryInterface;
6 6
 
7
-@trigger_error('The ' . __NAMESPACE__ . '\LazyOpenCloud adapter is deprecated since version 0.4 and will be removed in 1.0. Use the OpenCloud adapter instead.', E_USER_DEPRECATED);
7
+@trigger_error('The '.__NAMESPACE__.'\LazyOpenCloud adapter is deprecated since version 0.4 and will be removed in 1.0. Use the OpenCloud adapter instead.', E_USER_DEPRECATED);
8 8
 
9 9
 /**
10 10
  * LazyOpenCloud.
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.