Completed
Pull Request — master (#512)
by Albin
02:17
created
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/Ftp.php 1 patch
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.
src/Gaufrette/Adapter/DoctrineDbal.php 1 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/AzureBlobStorage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -512,10 +512,10 @@
 block discarded – undo
512 512
     {
513 513
         $blobList = $this->blobProxy->listBlobs($containerName);
514 514
         return array_map(
515
-            function (Blob $blob) use ($prefix) {
515
+            function(Blob $blob) use ($prefix) {
516 516
                 $name = $blob->getName();
517 517
                 if (null !== $prefix) {
518
-                    $name = $prefix .'/'. $name;
518
+                    $name = $prefix.'/'.$name;
519 519
                 }
520 520
                 return $name;
521 521
             },
Please login to merge, or discard this patch.