Test Failed
Push — master ( 7ed8aa...467c81 )
by frey
02:08
created
src/Adapter.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -400,7 +400,7 @@
 block discarded – undo
400 400
         file_put_contents($temporaryPath, $content);
401 401
 
402 402
         // The file is automatically removed when closed, or when the script ends.
403
-        register_shutdown_function(function () use ($temporaryPath) {
403
+        register_shutdown_function(function() use ($temporaryPath) {
404 404
             unlink($temporaryPath);
405 405
         });
406 406
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      * @param \DateTimeInterface $expiration
71 71
      * @param array              $options
72 72
      *
73
-     * @return string|bool
73
+     * @return string|false
74 74
      */
75 75
     public function getTemporaryUrl($path, DateTimeInterface $expiration, array $options = [])
76 76
     {
Please login to merge, or discard this patch.
src/ServiceProvider.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -27,16 +27,16 @@
 block discarded – undo
27 27
         }
28 28
 
29 29
         $this->app->make('filesystem')
30
-                  ->extend('cosv4', function ($app, $config) {
31
-                      $cosApi = new Api($config);
32
-                      $flysystem = new Filesystem(new Adapter($cosApi, $config));
30
+                    ->extend('cosv4', function ($app, $config) {
31
+                        $cosApi = new Api($config);
32
+                        $flysystem = new Filesystem(new Adapter($cosApi, $config));
33 33
 
34
-                      $flysystem->addPlugin(new PutRemoteFile());
35
-                      $flysystem->addPlugin(new PutRemoteFileAs());
36
-                      $flysystem->addPlugin(new GetUrl());
34
+                        $flysystem->addPlugin(new PutRemoteFile());
35
+                        $flysystem->addPlugin(new PutRemoteFileAs());
36
+                        $flysystem->addPlugin(new GetUrl());
37 37
 
38
-                      return $flysystem;
39
-                  });
38
+                        return $flysystem;
39
+                    });
40 40
     }
41 41
 
42 42
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         }
28 28
 
29 29
         $this->app->make('filesystem')
30
-                  ->extend('cosv4', function ($app, $config) {
30
+                  ->extend('cosv4', function($app, $config) {
31 31
                       $cosApi = new Api($config);
32 32
                       $flysystem = new Filesystem(new Adapter($cosApi, $config));
33 33
 
Please login to merge, or discard this patch.