code: protected function processMemberVar(
          File $phpcsFile,
          $stackPtr
      ) {
          $tokens       = $phpcsFile->getTokens();
          $commentToken = [
              T_COMMENT,
              T_DOC_COMMENT_CLOSE_TAG,
          ];
          $commentEnd = $phpcsFile->findPrevious($commentToken, $stackPtr);
          $commentStart = $tokens[$commentEnd]['comment_opener'];
  
          if ($tokens[$commentEnd]['line'] === $tokens[$commentStart]['line']) {
              $phpcsFile->addError('Member variable comment should not be inline', $stackPtr, static::ERROR_CODE);
          }
      }
docs: Called to process class member vars.
  
  @param File $phpcsFile The PHP_CodeSniffer file where this
  token was found.
  @param int $stackPtr The position where the token was found.
  
  @return void