Skip to content

Commit 03d3cc1

Browse files
committed
Coding Standards: Use preincrment.
Sorry Dennis. Introduced in [60939]. See #63168. git-svn-id: https://develop.svn.wordpress.org/trunk@61035 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 40e3f2b commit 03d3cc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-includes/class-wp-block-processor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,14 +1332,14 @@ private function find_html_comment_end( int $comment_starting_at, int $search_en
13321332

13331333
$closer_must_be_at = $dashes_at + 2 + strspn( $text, '-', $dashes_at + 2 );
13341334
if ( $closer_must_be_at < $search_end && '!' === $text[ $closer_must_be_at ] ) {
1335-
$closer_must_be_at++;
1335+
++$closer_must_be_at;
13361336
}
13371337

13381338
if ( $closer_must_be_at < $search_end && '>' === $text[ $closer_must_be_at ] ) {
13391339
return $closer_must_be_at + 1;
13401340
}
13411341

1342-
$now_at++;
1342+
++$now_at;
13431343
}
13441344

13451345
return $search_end;

0 commit comments

Comments
 (0)