Passed
Pull Request — master (#11)
by frey
02:49
created
src/ServiceProvider.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@
 block discarded – undo
30 30
         });
31 31
 
32 32
         Storage::disk('cosv4')
33
-               ->addPlugin(new PutRemoteFile())
34
-               ->addPlugin(new PutRemoteFileAs())
35
-               ->addPlugin(new GetUrl());
33
+                ->addPlugin(new PutRemoteFile())
34
+                ->addPlugin(new PutRemoteFileAs())
35
+                ->addPlugin(new GetUrl());
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
src/Client/Cosapi.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@
 block discarded – undo
213 213
      * 'x-cos-meta-自定义内容' => '*'
214 214
      */
215 215
     public static function update($bucket, $path,
216
-                                  $bizAttr = null, $authority = null, $customer_headers_array = null)
216
+                                    $bizAttr = null, $authority = null, $customer_headers_array = null)
217 217
     {
218 218
         $path = self::normalizerPath($path);
219 219
 
Please login to merge, or discard this patch.
src/Adapter.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
         try {
80 80
             $response = Cosapi::upload($this->getBucket(), $tmpfname, $path,
81
-                                       null, null, $config->get('insertOnly', 1));
81
+                                        null, null, $config->get('insertOnly', 1));
82 82
 
83 83
             $this->deleteTempFile($tmpfname);
84 84
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         $uri = stream_get_meta_data($resource)['uri'];
113 113
 
114 114
         $response = Cosapi::upload($this->getBucket(), $uri, $path,
115
-                                   null, null, $config->get('insertOnly', 1));
115
+                                    null, null, $config->get('insertOnly', 1));
116 116
 
117 117
         $response = $this->normalizeResponse($response);
118 118
 
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
 
141 141
         try {
142 142
             $response = Cosapi::upload($this->getBucket(), $tmpfname, $path,
143
-                                       null, null, $config->get('insertOnly', 0));
143
+                                        null, null, $config->get('insertOnly', 0));
144 144
 
145 145
             $this->deleteTempFile($tmpfname);
146 146
 
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
         $uri = stream_get_meta_data($resource)['uri'];
175 175
 
176 176
         $response = Cosapi::upload($this->getBucket(), $uri, $path,
177
-                                   null, null, $config->get('insertOnly', 0));
177
+                                    null, null, $config->get('insertOnly', 0));
178 178
 
179 179
         $response = $this->normalizeResponse($response);
180 180
 
Please login to merge, or discard this patch.