Skip to content

Commit ab65d39

Browse files
authored
Upgrade to PHP-CS-Fixer 3.17 (#1440)
Also add a rule to trim blank line inside `{}`, `[]` and `()`
1 parent 49d12a0 commit ab65d39

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

tests/Unit/DynamoDbClientTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ public function testBatchWriteItem(): void
7373

7474
$input = new BatchWriteItemInput([
7575
'RequestItems' => ['change me' => [new WriteRequest([
76-
7776
])]],
78-
7977
]);
8078
$result = $client->BatchWriteItem($input);
8179

@@ -96,7 +94,6 @@ public function testCreateTable(): void
9694
new KeySchemaElement(['AttributeName' => 'ForumName', 'KeyType' => KeyType::HASH]),
9795
new KeySchemaElement(['AttributeName' => 'Subject', 'KeyType' => KeyType::RANGE]),
9896
],
99-
10097
]);
10198
$result = $client->CreateTable($input);
10299

@@ -150,7 +147,6 @@ public function testExecuteStatement(): void
150147

151148
$input = new ExecuteStatementInput([
152149
'Statement' => 'change me',
153-
154150
]);
155151
$result = $client->executeStatement($input);
156152

@@ -177,7 +173,6 @@ public function testListTables(): void
177173
$client = new DynamoDbClient([], new NullProvider(), new MockHttpClient());
178174

179175
$input = new ListTablesInput([
180-
181176
]);
182177
$result = $client->ListTables($input);
183178

@@ -208,7 +203,6 @@ public function testQuery(): void
208203

209204
$input = new QueryInput([
210205
'TableName' => 'Foobar',
211-
212206
]);
213207
$result = $client->Query($input);
214208

@@ -222,7 +216,6 @@ public function testScan(): void
222216

223217
$input = new ScanInput([
224218
'TableName' => 'Foobar',
225-
226219
]);
227220
$result = $client->Scan($input);
228221

@@ -236,7 +229,6 @@ public function testTableExists(): void
236229

237230
$input = new DescribeTableInput([
238231
'TableName' => 'Foobar',
239-
240232
]);
241233
$result = $client->tableExists($input);
242234

@@ -250,7 +242,6 @@ public function testTableNotExists(): void
250242

251243
$input = new DescribeTableInput([
252244
'TableName' => 'Foobar',
253-
254245
]);
255246
$result = $client->tableNotExists($input);
256247

tests/Unit/Input/DescribeEndpointsRequestTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class DescribeEndpointsRequestTest extends TestCase
1010
public function testRequest(): void
1111
{
1212
$input = new DescribeEndpointsRequest([
13-
1413
]);
1514

1615
// see https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeEndpoints.html

0 commit comments

Comments
 (0)