File tree Expand file tree Collapse file tree 3 files changed +5
-16
lines changed Expand file tree Collapse file tree 3 files changed +5
-16
lines changed Original file line number Diff line number Diff line change 15
15
"illuminate/support" : " ^6.0|^7.0"
16
16
},
17
17
"require-dev" : {
18
- "blue32a/php-coding-standard" : " v0.1 .0-alpha" ,
18
+ "blue32a/php-coding-standard" : " v0.3 .0-alpha" ,
19
19
"mockery/mockery" : " ^1.3" ,
20
20
"php-parallel-lint/php-parallel-lint" : " ^1.3" ,
21
21
"phpunit/phpunit" : " ^8.5"
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ class ServiceProvider extends BaseServiceProvider
17
17
*/
18
18
public function register ()
19
19
{
20
- //
21
20
}
22
21
23
22
/**
@@ -34,10 +33,6 @@ public function boot()
34
33
});
35
34
}
36
35
37
- /**
38
- * @param array $config
39
- * @return AzureBlobStorageAdapter
40
- */
41
36
protected function createAdapter (array $ config ): AzureBlobStorageAdapter
42
37
{
43
38
$ connectionStr = $ this ->createConnectionString ($ config );
@@ -49,10 +44,6 @@ protected function createAdapter(array $config): AzureBlobStorageAdapter
49
44
return $ adapter ;
50
45
}
51
46
52
- /**
53
- * @param array $config
54
- * @return string
55
- */
56
47
protected function createConnectionString (array $ config ): string
57
48
{
58
49
$ connectionStr = sprintf (
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ protected function createTargetReflection()
35
35
/**
36
36
* @test
37
37
*/
38
- public function testBoot ()
38
+ public function testBoot (): void
39
39
{
40
40
$ storageSpy = Storage::spy ();
41
41
@@ -49,12 +49,11 @@ public function testBoot()
49
49
}
50
50
51
51
/**
52
- * @test
53
52
* @runInSeparateProcess
54
53
* @preserveGlobalState disabled
55
- * @return void
54
+ * @test
56
55
*/
57
- public function testCreateAdapter ()
56
+ public function testCreateAdapter (): void
58
57
{
59
58
$ publicEndpoint = 'https://storage.example.com ' ;
60
59
$ config = [
@@ -100,9 +99,8 @@ protected function createBlobRestProxyAliasMock()
100
99
101
100
/**
102
101
* @test
103
- * @return void
104
102
*/
105
- public function testCreateConnectionString ()
103
+ public function testCreateConnectionString (): void
106
104
{
107
105
$ targetRef = $ this ->createTargetReflection ();
108
106
You can’t perform that action at this time.
0 commit comments