Test Setup Failed
Push — master ( 8e5ef0...dc4af7 )
by alpha
08:20
created
src/AliyunAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     public function getUrl(string $path): string
38 38
     {
39 39
         $object = $this->prefixer->prefixPath($path);
40
-        return $this->config->getDomain() . '/' . ltrim($object, '/');
40
+        return $this->config->getDomain().'/'.ltrim($object, '/');
41 41
     }
42 42
 
43 43
     /**
Please login to merge, or discard this patch.
src/AliyunServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,12 +12,12 @@
 block discarded – undo
12 12
     public function boot()
13 13
     {
14 14
         $this->mergeConfigFrom(
15
-            __DIR__ . '/../config/config.php',
15
+            __DIR__.'/../config/config.php',
16 16
             'filesystems.disks.oss'
17 17
         );
18 18
 
19 19
         $this->app->make('filesystem')
20
-            ->extend('oss', function ($app, array $config) {
20
+            ->extend('oss', function($app, array $config) {
21 21
                 $aliyunConfig = new AliyunConfig($config);
22 22
 
23 23
                 $ossClient = new OssClient($aliyunConfig->get('access_key_id'), $aliyunConfig->get('access_key_secret'), $aliyunConfig->getRequestEndpoint(), $aliyunConfig->get('is_cname', false), $aliyunConfig->get('security_token', null), $aliyunConfig->get('request_proxy', null));
Please login to merge, or discard this patch.
src/Macros/AppendFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
     public function macro(): Closure
19 19
     {
20
-        return function (string $path, string $content, int $position = 0, array $options = []) {
20
+        return function(string $path, string $content, int $position = 0, array $options = []) {
21 21
             try {
22 22
                 /**
23 23
                  * @var FilesystemAdapter $this
Please login to merge, or discard this patch.
src/Macros/AppendObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
     public function macro(): Closure
19 19
     {
20
-        return function (string $path, string $content, int $position = 0, array $options = []) {
20
+        return function(string $path, string $content, int $position = 0, array $options = []) {
21 21
             try {
22 22
                 /**
23 23
                  * @var FilesystemAdapter $this
Please login to merge, or discard this patch.
src/AliyunConfig.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     public function getDomain()
16 16
     {
17 17
         if ($this->get('domain')) {
18
-            return $this->getProtocol() . '://' . $this->get('domain');
18
+            return $this->getProtocol().'://'.$this->get('domain');
19 19
         }
20 20
         return $this->getEndpointDomain();
21 21
     }
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     protected function getEndpointDomain()
27 27
     {
28
-        return $this->getProtocol() . '://' . $this->get('bucket') . '.' . $this->get('endpoint');
28
+        return $this->getProtocol().'://'.$this->get('bucket').'.'.$this->get('endpoint');
29 29
     }
30 30
 
31 31
     /**
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     protected function getInternalDomain()
35 35
     {
36
-        return $this->getProtocol() . '://' . $this->get('bucket') . '.' . $this->get('internal');
36
+        return $this->getProtocol().'://'.$this->get('bucket').'.'.$this->get('internal');
37 37
     }
38 38
 
39 39
     /**
Please login to merge, or discard this patch.