Skip to content

Commit c4f391e

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: [WebProfilerBundle] Replace last "old" icon + delete ICONS_LICENCE.txt Fix security tests [Messenger] Fix DoctrineIntegrationTest [FrameworkBundle] Remove obsolete feature detection [PsrHttpMessageBridge] Remove Cookie::create() detection PHP 8.3 highlight_file function output changes
2 parents e8e215a + 0904aa2 commit c4f391e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Diff for: Tests/Functional/CovertTest.php

+1-5
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,7 @@ public static function responseProvider(): array
195195
['x-symfony' => ['3.4']]
196196
);
197197

198-
if (method_exists(Cookie::class, 'create')) {
199-
$cookie = Cookie::create('city', 'Lille', new \DateTime('Wed, 13 Jan 2021 22:23:01 GMT'));
200-
} else {
201-
$cookie = new Cookie('city', 'Lille', new \DateTime('Wed, 13 Jan 2021 22:23:01 GMT'));
202-
}
198+
$cookie = Cookie::create('city', 'Lille', new \DateTime('Wed, 13 Jan 2021 22:23:01 GMT'));
203199

204200
$sfResponse->headers->setCookie($cookie);
205201
$body = Psr7Stream::create();

0 commit comments

Comments
 (0)