phpcsFile = $phpcsFile; $this->tokens = $phpcsFile->getTokens(); return $this->process_token( $stackPtr ); } /** * Processes a sniff when one of its tokens is encountered. * * @since 0.11.0 * * @param int $stackPtr The position of the current token in the stack. * * @return int|void Integer stack pointer to skip forward or void to continue * normal file processing. */ abstract public function process_token( $stackPtr ); }