Skip to content

Commit 6cca6b2

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Internal classes are not legacy. [HttpFoundation] Skip the cookie_max_age fixture on PHP 8. add choice_translation_domain tests to prevent further regressions Update validators.tr.xlf
2 parents 1975e1d + ff509ca commit 6cca6b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/ResponseFunctionalTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ public static function tearDownAfterClass(): void
4242
*/
4343
public function testCookie($fixture)
4444
{
45+
if (\PHP_VERSION_ID >= 80000 && 'cookie_max_age' === $fixture) {
46+
$this->markTestSkipped('This fixture produces a fatal error on PHP 8.');
47+
}
48+
4549
$result = file_get_contents(sprintf('http://localhost:8054/%s.php', $fixture));
4650
$this->assertStringMatchesFormatFile(__DIR__.sprintf('/Fixtures/response-functional/%s.expected', $fixture), $result);
4751
}

0 commit comments

Comments
 (0)