Skip to content

Commit 5ace325

Browse files
committed
Updated coding standard and fixd errors
1 parent 6d5e0cc commit 5ace325

File tree

3 files changed

+5
-16
lines changed

3 files changed

+5
-16
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"illuminate/support": "^6.0|^7.0"
1616
},
1717
"require-dev": {
18-
"blue32a/php-coding-standard": "v0.1.0-alpha",
18+
"blue32a/php-coding-standard": "v0.3.0-alpha",
1919
"mockery/mockery": "^1.3",
2020
"php-parallel-lint/php-parallel-lint": "^1.3",
2121
"phpunit/phpunit": "^8.5"

src/ServiceProvider.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ class ServiceProvider extends BaseServiceProvider
1717
*/
1818
public function register()
1919
{
20-
//
2120
}
2221

2322
/**
@@ -34,10 +33,6 @@ public function boot()
3433
});
3534
}
3635

37-
/**
38-
* @param array $config
39-
* @return AzureBlobStorageAdapter
40-
*/
4136
protected function createAdapter(array $config): AzureBlobStorageAdapter
4237
{
4338
$connectionStr = $this->createConnectionString($config);
@@ -49,10 +44,6 @@ protected function createAdapter(array $config): AzureBlobStorageAdapter
4944
return $adapter;
5045
}
5146

52-
/**
53-
* @param array $config
54-
* @return string
55-
*/
5647
protected function createConnectionString(array $config): string
5748
{
5849
$connectionStr = sprintf(

tests/ServiceProviderTest.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected function createTargetReflection()
3535
/**
3636
* @test
3737
*/
38-
public function testBoot()
38+
public function testBoot(): void
3939
{
4040
$storageSpy = Storage::spy();
4141

@@ -49,12 +49,11 @@ public function testBoot()
4949
}
5050

5151
/**
52-
* @test
5352
* @runInSeparateProcess
5453
* @preserveGlobalState disabled
55-
* @return void
54+
* @test
5655
*/
57-
public function testCreateAdapter()
56+
public function testCreateAdapter(): void
5857
{
5958
$publicEndpoint = 'https://storage.example.com';
6059
$config = [
@@ -100,9 +99,8 @@ protected function createBlobRestProxyAliasMock()
10099

101100
/**
102101
* @test
103-
* @return void
104102
*/
105-
public function testCreateConnectionString()
103+
public function testCreateConnectionString(): void
106104
{
107105
$targetRef = $this->createTargetReflection();
108106

0 commit comments

Comments
 (0)