type === Token::TYPE_KEYWORD) && ($token->keyword === 'RENAME')) { // Checking if it is the beginning of the query. $list->getNextOfTypeAndValue(Token::TYPE_KEYWORD, 'TABLE'); } } }