Passed
Pull Request — master (#96)
by Maximilian
03:08
created
test/Test/Helper/DeviceAddressInformationHelperTest.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         $apiResponseBody = $this->createMock(StreamInterface::class);
31 31
 
32 32
         $client->method('request')
33
-             ->willReturn($apiResponse);
33
+                ->willReturn($apiResponse);
34 34
         $apiResponse->method('getStatusCode')
35 35
                     ->willReturn(200);
36 36
         $apiResponse->method('getBody')
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $apiResponse = $this->createMock(ResponseInterface::class);
52 52
 
53 53
         $client->method('request')
54
-             ->willReturn($apiResponse);
54
+                ->willReturn($apiResponse);
55 55
         $apiResponse->method('getStatusCode')
56 56
                     ->willReturn(403);
57 57
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $apiResponseBody = $this->createMock(StreamInterface::class);
88 88
 
89 89
         $client->method('request')
90
-             ->willReturn($apiResponse);
90
+                ->willReturn($apiResponse);
91 91
         $apiResponse->method('getStatusCode')
92 92
                     ->willReturn(200);
93 93
         $apiResponse->method('getBody')
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         $apiResponse = $this->createMock(ResponseInterface::class);
109 109
 
110 110
         $client->method('request')
111
-               ->willReturn($apiResponse);
111
+                ->willReturn($apiResponse);
112 112
         $apiResponse->method('getStatusCode')
113 113
                     ->willReturn(500);
114 114
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,7 @@
 block discarded – undo
16 16
 use Psr\Http\Message\ResponseInterface;
17 17
 use Psr\Http\Message\StreamInterface;
18 18
 
19
-class DeviceAddressInformationHelperTest extends TestCase
20
-{
19
+class DeviceAddressInformationHelperTest extends TestCase {
21 20
     public function testGetCountryAndPostalCodeSuccess(): void
22 21
     {
23 22
         $responseData = [
Please login to merge, or discard this patch.
test/Test/Helper/PropertyHelperTest.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
7 7
 use MaxBeckers\AmazonAlexa\Helper\PropertyHelper;
8 8
 use PHPUnit\Framework\TestCase;
9 9
 
10
-class PropertyHelperTest extends TestCase
11
-{
10
+class PropertyHelperTest extends TestCase {
12 11
     public function testCheckNullValueStringSuccess(): void
13 12
     {
14 13
         $key = 'test';
Please login to merge, or discard this patch.