Completed
Pull Request — master (#544)
by Nicolas
03:05
created
src/Gaufrette/Adapter/PhpseclibSftp.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,8 @@
 block discarded – undo
8 8
 use Gaufrette\File;
9 9
 
10 10
 class PhpseclibSftp implements Adapter,
11
-                               FileFactory,
12
-                               ListKeysAware
11
+                                FileFactory,
12
+                                ListKeysAware
13 13
 {
14 14
     protected $sftp;
15 15
     protected $directory;
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/OpenCloud.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * @author  Daniel Richter <[email protected]>
19 19
  */
20 20
 class OpenCloud implements Adapter,
21
-                           ChecksumCalculator
21
+                            ChecksumCalculator
22 22
 {
23 23
     /**
24 24
      * @var Service
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/DoctrineDbal.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
  * @author Leszek Prabucki <[email protected]>
16 16
  */
17 17
 class DoctrineDbal implements Adapter,
18
-                              ChecksumCalculator,
19
-                              ListKeysAware
18
+                                ChecksumCalculator,
19
+                                ListKeysAware
20 20
 {
21 21
     protected $connection;
22 22
     protected $table;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
 
184 184
         return array(
185 185
             'dirs' => array(),
186
-            'keys' => array_map(function ($value) {
186
+            'keys' => array_map(function($value) {
187 187
                     return $value['_key'];
188 188
                 },
189 189
                 $keys),
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/MogileFS.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
 
90 90
                 if ($status) {
91 91
                     $params = array('key' => $key, 'class' => $metadata['mogile_class'], 'devid' => $res['devid'],
92
-                                    'fid' => $res['fid'], 'path' => urldecode($res['path']), );
92
+                                    'fid' => $res['fid'], 'path' => urldecode($res['path']),);
93 93
                     $closeres = $this->doRequest('CREATE_CLOSE', $params);
94 94
                 }
95 95
             }
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/Flysystem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      */
59 59
     public function keys()
60 60
     {
61
-        return array_map(function ($content) {
61
+        return array_map(function($content) {
62 62
             return $content['path'];
63 63
         }, $this->adapter->listContents());
64 64
     }
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/InMemory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * @author Antoine Hérault <[email protected]>
14 14
  */
15 15
 class InMemory implements Adapter,
16
-                          MimeTypeProvider
16
+                            MimeTypeProvider
17 17
 {
18 18
     protected $files = array();
19 19
 
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/Ftp.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         $this->ensureDirectoryExists($this->directory, $this->create);
122 122
 
123 123
         $file  = $this->computePath($key);
124
-        $lines = ftp_rawlist($this->getConnection(), '-al ' . \Gaufrette\Util\Path::dirname($file));
124
+        $lines = ftp_rawlist($this->getConnection(), '-al '.\Gaufrette\Util\Path::dirname($file));
125 125
 
126 126
         if (false === $lines) {
127 127
             return false;
@@ -526,7 +526,7 @@  discard block
 block discarded – undo
526 526
         }
527 527
 
528 528
         // enable utf8 mode if configured
529
-        if($this->utf8 == true) {
529
+        if ($this->utf8 == true) {
530 530
             ftp_raw($this->connection, "OPTS UTF8 ON");
531 531
         }
532 532
 
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@  discard block
 block discarded – undo
12 12
  * @author  Antoine Hérault <[email protected]>
13 13
  */
14 14
 class Ftp implements Adapter,
15
-                     FileFactory,
16
-                     ListKeysAware,
17
-                     SizeCalculator
15
+                        FileFactory,
16
+                        ListKeysAware,
17
+                        SizeCalculator
18 18
 {
19 19
     protected $connection = null;
20 20
     protected $directory;
@@ -263,8 +263,8 @@  discard block
 block discarded – undo
263 263
         $this->fileData = array_merge($fileData, $this->fileData);
264 264
 
265 265
         return array(
266
-           'keys' => array_keys($fileData),
267
-           'dirs' => $dirs,
266
+            'keys' => array_keys($fileData),
267
+            'dirs' => $dirs,
268 268
         );
269 269
     }
270 270
 
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/AclAwareAmazonS3.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
  * @deprecated The AclAwareAmazonS3 adapter is deprecated since version 0.4 and will be removed in 1.0. Use the AwsS3 adapter instead.
20 20
  */
21 21
 class AclAwareAmazonS3 implements Adapter,
22
-                                  MetadataSupporter
22
+                                    MetadataSupporter
23 23
 {
24 24
     protected $delegate;
25 25
     protected $s3;
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/AmazonS3.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * @deprecated The AmazonS3 adapter is deprecated since version 0.4 and will be removed in 1.0. Use the AwsS3 adapter instead.
19 19
  */
20 20
 class AmazonS3 implements Adapter,
21
-                          MetadataSupporter
21
+                            MetadataSupporter
22 22
 {
23 23
     protected $service;
24 24
     protected $bucket;
Please login to merge, or discard this patch.