Skip to content

Commit ebe39cf

Browse files
authored
Merge pull request #1 from dhassanali/analysis-8Kbkwe
Apply fixes from StyleCI
2 parents f62acbb + 98843bc commit ebe39cf

12 files changed

+23
-27
lines changed

config/config.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
'connections' => [
88

9-
109
'main' => [
1110
'disk' => 's3', // your S3 disk in your filesystem config
1211
'expiration_time' => '+5 minutes',
@@ -24,7 +23,6 @@
2423
],
2524
],
2625

27-
2826
'another' => [
2927
'disk' => 's3',
3028
'expiration_time' => '+5 minutes',
@@ -37,4 +35,4 @@
3735
],
3836

3937
],
40-
];
38+
];

src/Facades/S3BrowserBasedUploads.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ protected static function getFacadeAccessor()
1919
{
2020
return 's3-browser-based-uploads';
2121
}
22-
}
22+
}

src/Http/Controllers/CredentialsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ public function __invoke()
1313
'fields' => S3BrowserBasedUploads::getFields(),
1414
]);
1515
}
16-
}
16+
}

src/S3BrowserBasedUploads.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct(
2121
}
2222

2323
/**
24-
* get the endpoint url
24+
* get the endpoint url.
2525
*
2626
* @return string
2727
*/
@@ -31,7 +31,7 @@ public function getEndpointUrl() : string
3131
}
3232

3333
/**
34-
* get the fields
34+
* get the fields.
3535
*
3636
* @return array
3737
*/
@@ -41,7 +41,7 @@ public function getFields() : array
4141
}
4242

4343
/**
44-
* Bind the credentials route
44+
* Bind the credentials route.
4545
*
4646
* @param array $options
4747
*
@@ -59,4 +59,4 @@ public static function routes(array $options = [])
5959
$router->get('/credentials', 'CredentialsController')->name('credentials');
6060
});
6161
}
62-
}
62+
}

src/S3BrowserBasedUploadsFactory.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function make(array $config) : S3BrowserBasedUploads
2828
}
2929

3030
/**
31-
* get the s3 adapter
31+
* get the s3 adapter.
3232
*
3333
* @param array $config
3434
*
@@ -40,7 +40,7 @@ protected function getS3Adapter(array $config) : AwsS3Adapter
4040
}
4141

4242
/**
43-
* get the inputs
43+
* get the inputs.
4444
*
4545
* @param array $config
4646
*
@@ -52,7 +52,7 @@ protected function getInputs(array $config) : array
5252
}
5353

5454
/**
55-
* get the conditions
55+
* get the conditions.
5656
*
5757
* @param array $config
5858
*
@@ -64,7 +64,7 @@ protected function getConditions(array $config) : array
6464
}
6565

6666
/**
67-
* get the expiration time
67+
* get the expiration time.
6868
*
6969
* @param array $config
7070
*
@@ -74,4 +74,4 @@ protected function getExpirationTime(array $config) : string
7474
{
7575
return Arr::get($config, 'expiration_time', '+5 minutes');
7676
}
77-
}
77+
}

src/S3BrowserBasedUploadsManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Hassan\S3BrowserBasedUploads;
44

5-
use Illuminate\Contracts\Config\Repository;
65
use GrahamCampbell\Manager\AbstractManager;
6+
use Illuminate\Contracts\Config\Repository;
77

88
class S3BrowserBasedUploadsManager extends AbstractManager
99
{

src/ServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ public function registerManager() : void
5959
$this->app->alias('s3-browser-based-uploads', S3BrowserBasedUploadsManager::class);
6060
}
6161

62-
6362
/**
6463
* Get the services.
6564
*

tests/AbstractTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Hassan\S3BrowserBasedUploads\Tests;
44

5-
use GrahamCampbell\TestBench\AbstractPackageTestCase;
65
use Hassan\S3BrowserBasedUploads\ServiceProvider;
6+
use GrahamCampbell\TestBench\AbstractPackageTestCase;
77

88
abstract class AbstractTestCase extends AbstractPackageTestCase
99
{
@@ -34,4 +34,4 @@ protected function getConfig()
3434
'conditions' => [],
3535
];
3636
}
37-
}
37+
}

tests/Facades/S3BrowserBasedUploadsTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
namespace Hassan\S3BrowserBasedUploads\Tests\Facades;
44

55
use GrahamCampbell\TestBenchCore\FacadeTrait;
6-
use Hassan\S3BrowserBasedUploads\Facades\S3BrowserBasedUploads;
7-
use Hassan\S3BrowserBasedUploads\S3BrowserBasedUploadsManager;
86
use Hassan\S3BrowserBasedUploads\Tests\AbstractTestCase;
7+
use Hassan\S3BrowserBasedUploads\S3BrowserBasedUploadsManager;
8+
use Hassan\S3BrowserBasedUploads\Facades\S3BrowserBasedUploads;
99

1010
class S3BrowserBasedUploadsTest extends AbstractTestCase
1111
{
@@ -25,4 +25,4 @@ protected function getFacadeRoot()
2525
{
2626
return S3BrowserBasedUploadsManager::class;
2727
}
28-
}
28+
}

tests/FactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ public function test_make()
1515

1616
$this->assertInstanceOf(S3BrowserBasedUploads::class, $instance);
1717
}
18-
}
18+
}

0 commit comments

Comments
 (0)