File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,20 +52,20 @@ public function testHtml5ParserWithInvalidHeadedContent(string $content)
52
52
53
53
public function validHtml5Provider (): iterable
54
54
{
55
- $ html = $ this -> getDoctype ().'<html><body><h1><p>Foo</p></h1></body></html> ' ;
55
+ $ html = static :: getDoctype ().'<html><body><h1><p>Foo</p></h1></body></html> ' ;
56
56
$ BOM = \chr (0xEF ).\chr (0xBB ).\chr (0xBF );
57
57
58
58
yield 'BOM first ' => [$ BOM .$ html ];
59
59
yield 'Single comment ' => ['<!-- comment --> ' .$ html ];
60
60
yield 'Multiline comment ' => ["<!-- \n multiline comment \n --> " .$ html ];
61
61
yield 'Several comments ' => ['<!--c--> <!--cc--> ' .$ html ];
62
62
yield 'Whitespaces ' => [' ' .$ html ];
63
- yield 'All together ' => [$ BOM .' ' . ' <!--c--> ' .$ html ];
63
+ yield 'All together ' => [$ BOM .' <!--c--> ' .$ html ];
64
64
}
65
65
66
66
public function invalidHtml5Provider (): iterable
67
67
{
68
- $ html = $ this -> getDoctype ().'<html><body><h1><p>Foo</p></h1></body></html> ' ;
68
+ $ html = static :: getDoctype ().'<html><body><h1><p>Foo</p></h1></body></html> ' ;
69
69
70
70
yield 'Text ' => ['hello world ' .$ html ];
71
71
yield 'Text between comments ' => ['<!--c--> test <!--cc--> ' .$ html ];
You can’t perform that action at this time.
0 commit comments