Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9391528

Browse filesBrowse files
committed
Merge branch '6.4' into 7.0
* 6.4: [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 0b4981a + ded8034 commit 9391528
Copy full SHA for 9391528

File tree

Expand file treeCollapse file tree

1 file changed

+2
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-4
lines changed

‎Tests/HttpClientTraitTest.php

Copy file name to clipboardExpand all lines: Tests/HttpClientTraitTest.php
+2-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.