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)
5252
5353 public function validHtml5Provider (): iterable
5454 {
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> ' ;
5656 $ BOM = \chr (0xEF ).\chr (0xBB ).\chr (0xBF );
5757
5858 yield 'BOM first ' => [$ BOM .$ html ];
5959 yield 'Single comment ' => ['<!-- comment --> ' .$ html ];
6060 yield 'Multiline comment ' => ["<!-- \n multiline comment \n --> " .$ html ];
6161 yield 'Several comments ' => ['<!--c--> <!--cc--> ' .$ html ];
6262 yield 'Whitespaces ' => [' ' .$ html ];
63- yield 'All together ' => [$ BOM .' ' . ' <!--c--> ' .$ html ];
63+ yield 'All together ' => [$ BOM .' <!--c--> ' .$ html ];
6464 }
6565
6666 public function invalidHtml5Provider (): iterable
6767 {
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> ' ;
6969
7070 yield 'Text ' => ['hello world ' .$ html ];
7171 yield 'Text between comments ' => ['<!--c--> test <!--cc--> ' .$ html ];
You can’t perform that action at this time.
0 commit comments