diff --git a/src/Tokenizers/PHP.php b/src/Tokenizers/PHP.php index 74871d3b30..993d937420 100644 --- a/src/Tokenizers/PHP.php +++ b/src/Tokenizers/PHP.php @@ -1946,9 +1946,9 @@ protected function processAdditional() // If after all that, the extra tokens are not set, this is not an arrow function. if (isset($this->tokens[$i]['scope_closer']) === false) { if (PHP_CODESNIFFER_VERBOSITY > 1) { - $line = $this->tokens[$i]['line']; - $oldCode = $this->tokens[$i]['code']; - echo "\t\t* token $i on line $line changed from $oldCode to T_STRING: not an arrow function after all".PHP_EOL; + $line = $this->tokens[$i]['line']; + echo "\t=> token $i on line $line is not an arrow function".PHP_EOL; + echo "\t\t* token changed from T_FN to T_STRING".PHP_EOL; } $this->tokens[$i]['code'] = T_STRING;