Skip to content

Commit c84a474

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: [Serializer] Fix fixture [FrameworkBundle] Fix PHP 8.4 deprecation Add an experimental CI job for PHP 8.4 [HttpClient] Fix PHP 8.3 deprecation in tests [Messenger] [Amqp] Handle AMQPConnectionException when publishing a message.
2 parents 622e13c + 9391528 commit c84a474

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Tests/HttpClientTraitTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,8 @@ public function testPrepareRequestWithBodyIsArray()
7272
public function testNormalizeBodyMultipart()
7373
{
7474
$file = fopen('php://memory', 'r+');
75-
stream_context_set_option($file, ['http' => [
76-
'filename' => 'test.txt',
77-
'content_type' => 'text/plain',
78-
]]);
75+
stream_context_set_option($file, 'http', 'filename', 'test.txt');
76+
stream_context_set_option($file, 'http', 'content_type', 'text/plain');
7977
fwrite($file, 'foobarbaz');
8078
rewind($file);
8179

0 commit comments

Comments
 (0)