Skip to content

Commit 9f9726a

Browse files
authored
I18nTextDomainFixer: remove unnecessary variable initialization (#2513)
Initializing the variable here is unnecessary as its value is immediately overridden in the if/else below.
1 parent 8c069fe commit 9f9726a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

WordPress/Sniffs/Utils/I18nTextDomainFixerSniff.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,6 @@ public function process_comments( $stackPtr ) {
674674
$regex = $this->plugin_header_regex;
675675
$headers = $this->plugin_headers;
676676
$type = 'plugin';
677-
$skip_to = $stackPtr;
678677

679678
$file = TextStrings::stripQuotes( $this->phpcsFile->getFileName() );
680679
if ( 'STDIN' === $file ) {

0 commit comments

Comments
 (0)