Skip to content

Commit 19df844

Browse files
Simperfitnicolas-grekas
authored andcommitted
[HttpFoundation] deprecate using $first in get and added key in all
1 parent 91dfe33 commit 19df844

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/EventListener/AddLinkHeaderListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function testOnKernelResponse()
4747
'</foo>; rel="preload"',
4848
];
4949

50-
$this->assertEquals($expected, $response->headers->get('Link', null, false));
50+
$this->assertEquals($expected, $response->headers->all()['link']);
5151
}
5252

5353
public function testSubscribedEvents()

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"symfony/http-kernel": ""
2525
},
2626
"require-dev": {
27-
"symfony/http-foundation": "^3.4|^4.0|^5.0",
27+
"symfony/http-foundation": "^4.4|^5.0",
2828
"symfony/http-kernel": "^4.3|^5.0"
2929
},
3030
"conflict": {

0 commit comments

Comments
 (0)