Skip to content

Commit

Permalink
Merge branch 'feature/tokenizer-php-prevent-unnecessary-change' of ht…
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Feb 14, 2021
2 parents 9469e30 + d570825 commit bc77025
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Tokenizers/PHP.php
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,7 @@ protected function tokenize($string)

if ($x < $numTokens
&& is_array($tokens[$x]) === true
&& $tokens[$x][0] !== T_STRING
&& $tokens[$x][0] !== T_NAME_QUALIFIED
) {
if (PHP_CODESNIFFER_VERBOSITY > 1) {
Expand Down

0 comments on commit bc77025

Please sign in to comment.