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 d6d9b29

Browse filesBrowse files
committed
[HttpFoundation] Skip the cookie_max_age fixture on PHP 8.
1 parent 4b3015f commit d6d9b29
Copy full SHA for d6d9b29

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+4
-0
lines changed

‎src/Symfony/Component/HttpFoundation/Tests/ResponseFunctionalTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Tests/ResponseFunctionalTest.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ public static function tearDownAfterClass()
4545
*/
4646
public function testCookie($fixture)
4747
{
48+
if (\PHP_VERSION_ID >= 80000 && 'cookie_max_age' === $fixture) {
49+
$this->markTestSkipped('This fixture produces a fatal error on PHP 8.');
50+
}
51+
4852
$result = file_get_contents(sprintf('http://localhost:8054/%s.php', $fixture));
4953
$this->assertStringMatchesFormatFile(__DIR__.sprintf('/Fixtures/response-functional/%s.expected', $fixture), $result);
5054
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.