Skip to content

Commit f79b437

Browse files
committed
Avoid deprecations when using the masterminds/html5 HTML5 parser
1 parent 882839c commit f79b437

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/End2End/End2EndTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public function testGet200WithSubrequest(): void
8989
public function testGet404(): void
9090
{
9191
$client = static::createClient(['debug' => false]);
92+
$client->useHtml5Parser(false);
9293

9394
try {
9495
$client->request('GET', '/missing-page');
@@ -112,6 +113,7 @@ public function testGet404(): void
112113
public function testGetBadRequest(): void
113114
{
114115
$client = static::createClient(['debug' => false]);
116+
$client->useHtml5Parser(false);
115117

116118
$client->request('GET', '/bad-request');
117119

@@ -126,6 +128,7 @@ public function testGetBadRequest(): void
126128
public function testGet500(): void
127129
{
128130
$client = static::createClient();
131+
$client->useHtml5Parser(false);
129132

130133
try {
131134
$client->request('GET', '/exception');

0 commit comments

Comments
 (0)