Skip to content

Commit f2d15d9

Browse files
Merge branch '5.4' into 6.2
* 5.4: [FrameworkBundle] Improve error message in MicroKernelTrait when using deprecated configureRoutes(RouteCollectionBuilder) with symfony/routing >= 6.0 Add warning about Symfony 5.2 changing pcntl_async_signals [Tests] Fix static calls and Mock var annotation [FrameworkBundle] Fix checkboxes check assertions [Notifier][WebProfilerBundle] Ignore messages whose `getNotification` returns `null` [HttpClient] Fix over-encoding of URL parts to match browser's behavior Fix Psalm job [HttpClient] Fix data collector [Tests] Migrate tests to static data providers [Semaphore] Fix test Fix: Split and clean up tests Remove unused data provider add Sender to the list of bypassed headers
2 parents 9bc727f + c3709f4 commit f2d15d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Html5ParserCrawlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function testHtml5ParserWithInvalidHeadedContent(string $content)
4848

4949
public function validHtml5Provider(): iterable
5050
{
51-
$html = static::getDoctype().'<html><body><h1><p>Foo</p></h1></body></html>';
51+
$html = self::getDoctype().'<html><body><h1><p>Foo</p></h1></body></html>';
5252
$BOM = \chr(0xEF).\chr(0xBB).\chr(0xBF);
5353

5454
yield 'BOM first' => [$BOM.$html];
@@ -61,7 +61,7 @@ public function validHtml5Provider(): iterable
6161

6262
public function invalidHtml5Provider(): iterable
6363
{
64-
$html = static::getDoctype().'<html><body><h1><p>Foo</p></h1></body></html>';
64+
$html = self::getDoctype().'<html><body><h1><p>Foo</p></h1></body></html>';
6565

6666
yield 'Text' => ['hello world'.$html];
6767
yield 'Text between comments' => ['<!--c--> test <!--cc-->'.$html];

0 commit comments

Comments
 (0)