Skip to content

Commit 19aa496

Browse files
Merge branch '6.1' into 6.2
* 6.1: Update ComposerPlugin.php [Notifier] [OvhCloud] handle invalid receiver [Cache] fix collecting cache stats when nesting computations [VarDumper] Fix JS to expand / collapse [Validator] Fix Email validator logic Fix user_identifier support after username has been deprecated in favor of it. [Tests] Remove `$this` occurrences in future static data providers [PropertyInfo] Fixes constructor extractor for mixed type use method_exists() instead of catching reflection exceptions
2 parents bb15f39 + 1886590 commit 19aa496

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Html5ParserCrawlerTest.php

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

4949
public function validHtml5Provider(): iterable
5050
{
51-
$html = $this->getDoctype().'<html><body><h1><p>Foo</p></h1></body></html>';
51+
$html = static::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];
5555
yield 'Single comment' => ['<!-- comment -->'.$html];
5656
yield 'Multiline comment' => ["<!-- \n multiline comment \n -->".$html];
5757
yield 'Several comments' => ['<!--c--> <!--cc-->'.$html];
5858
yield 'Whitespaces' => [' '.$html];
59-
yield 'All together' => [$BOM.' '.'<!--c-->'.$html];
59+
yield 'All together' => [$BOM.' <!--c-->'.$html];
6060
}
6161

6262
public function invalidHtml5Provider(): iterable
6363
{
64-
$html = $this->getDoctype().'<html><body><h1><p>Foo</p></h1></body></html>';
64+
$html = static::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)