Skip to content

Commit 6ad5e4d

Browse files
Merge branch '5.4' into 6.2
* 5.4: CS fix Fix test provider
2 parents 9dfac80 + 2df0f57 commit 6ad5e4d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Tests/DataCollector/HttpClientDataCollectorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ public function testItIsEmptyAfterReset()
166166

167167
/**
168168
* @requires extension openssl
169+
*
169170
* @dataProvider provideCurlRequests
170171
*/
171172
public function testItGeneratesCurlCommandsAsExpected(array $request, string $expectedCurlCommand)

Tests/HttpClientTraitTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ public function testPrepareRequestWithBodyIsArray()
5454
$defaults = [
5555
'base_uri' => 'http://example.com?c=c',
5656
'query' => ['a' => 1, 'b' => 'b'],
57-
'body' => []
57+
'body' => [],
5858
];
5959
[, $defaults] = self::prepareRequest(null, null, $defaults);
6060

6161
[,$options] = self::prepareRequest(null, 'http://example.com', [
6262
'body' => [1, 2],
6363
'headers' => [
64-
'Content-Type' => 'application/x-www-form-urlencoded; charset=utf-8'
65-
]
64+
'Content-Type' => 'application/x-www-form-urlencoded; charset=utf-8',
65+
],
6666
], $defaults);
6767

6868
$this->assertContains('Content-Type: application/x-www-form-urlencoded; charset=utf-8', $options['headers']);

0 commit comments

Comments
 (0)