Skip to content

Commit b5df8df

Browse files
committed
Lints
1 parent 1c834ba commit b5df8df

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ public function test_parse( ?string $fragment_context, string $html, string $exp
9090
* @todo remove this section when when the processor handles this.
9191
*/
9292
$auto_generated_html_head_body = "<html>\n <head>\n <body>\n\n";
93-
$auto_generated_head_body = " <head>\n <body>\n\n";
94-
$auto_generated_body = " <body>\n\n";
93+
$auto_generated_head_body = " <head>\n <body>\n\n";
94+
$auto_generated_body = " <body>\n\n";
9595
if ( str_ends_with( $expected_tree, $auto_generated_html_head_body ) && ! str_ends_with( $processed_tree, $auto_generated_html_head_body ) ) {
9696
if ( str_ends_with( $processed_tree, "<html>\n <head>\n\n" ) ) {
9797
$processed_tree = substr_replace( $processed_tree, " <body>\n\n", -1 );
@@ -386,7 +386,7 @@ public static function parse_html5_dat_testfile( $filename ) {
386386
$test_script_flag = false;
387387
}
388388
if ( "#script-on\n" === $line ) {
389-
$test_script_flag = true;
389+
$test_script_flag = true;
390390
}
391391

392392
$state = trim( substr( $line, 1 ) );

0 commit comments

Comments
 (0)