Skip to content

Commit f9b5bea

Browse files
committed
Remove redundant early initialization of processor var
1 parent c45ada6 commit f9b5bea

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ private static function should_skip_test( ?string $test_context_element, string
153153
* @return string|null Tree structure of parsed HTML, if supported, else null.
154154
*/
155155
private static function build_tree_representation( ?string $fragment_context, string $html ) {
156-
$processor = null;
157156
if ( $fragment_context ) {
158157
/*
159158
* If the string of characters starts with "svg ", the context

0 commit comments

Comments
 (0)