File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function testHtml5ParserWithInvalidHeadedContent(string $content)
52
52
53
53
public function validHtml5Provider (): iterable
54
54
{
55
- $ html = static ::getDoctype ().'<html><body><h1><p>Foo</p></h1></body></html> ' ;
55
+ $ html = self ::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 ];
@@ -65,7 +65,7 @@ public function validHtml5Provider(): iterable
65
65
66
66
public function invalidHtml5Provider (): iterable
67
67
{
68
- $ html = static ::getDoctype ().'<html><body><h1><p>Foo</p></h1></body></html> ' ;
68
+ $ html = self ::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