Test Failed
Push — master ( c3510e...e80ff5 )
by frey
03:59
created
src/Adapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
             return true;
252 252
         }
253 253
 
254
-        $keys = array_map(function ($item) {
254
+        $keys = array_map(function($item) {
255 255
             return ['Key' => $item['Key']];
256 256
         }, (array) $response['Contents']);
257 257
 
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
                 ])->get('Body');
334 334
             }
335 335
 
336
-            return ['contents' => (string)$response];
336
+            return ['contents' => (string) $response];
337 337
         } catch (NoSuchKeyException $e) {
338 338
             return false;
339 339
         } catch (\GuzzleHttp\Exception\ClientException $e) {
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         }
30 30
 
31 31
         $this->app->make('filesystem')
32
-                  ->extend('cosv5', function ($app, $config) {
32
+                  ->extend('cosv5', function($app, $config) {
33 33
                       $client = new Client($config);
34 34
                       $flysystem = new Filesystem(new Adapter($client, $config), $config);
35 35
 
Please login to merge, or discard this patch.
src/Plugins/CDN.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      */
89 89
     protected function buildFormParams(array $values, $key, $action)
90 90
     {
91
-        $keys = array_map(function ($n) use ($key) {
91
+        $keys = array_map(function($n) use ($key) {
92 92
             return sprintf("$key.%d", $n);
93 93
         }, range(0, count($values) - 1));
94 94
 
Please login to merge, or discard this patch.
src/Plugins/GetFederationToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
     {
168 168
         ksort($params);
169 169
 
170
-        $srcStr = 'POSTsts.api.qcloud.com/v2/index.php?' . urldecode(http_build_query($params));
170
+        $srcStr = 'POSTsts.api.qcloud.com/v2/index.php?'.urldecode(http_build_query($params));
171 171
 
172 172
         return base64_encode(hash_hmac('sha1', $srcStr, $this->getCredentials()['secretKey'], true));
173 173
     }
Please login to merge, or discard this patch.