Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. VariableCommentSniff.php

function VariableCommentSniff::processVariableInString

Same name in this branch
  1. 11.1.x vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php \PHP_CodeSniffer\Standards\Squiz\Sniffs\Commenting\VariableCommentSniff::processVariableInString()

Called to process variables found in double quoted strings.

Not required for this sniff.

Parameters

\PHP_CodeSniffer\Files\File $phpcsFile The PHP_CodeSniffer file where this token was found.:

int $stackPtr The position where the double quoted: string was found.

Return value

void

Overrides AbstractVariableSniff::processVariableInString

File

vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Commenting/VariableCommentSniff.php, line 223

Class

VariableCommentSniff
Parses and verifies class property doc comments.

Namespace

Drupal\Sniffs\Commenting

Code

protected function processVariableInString(File $phpcsFile, $stackPtr) {
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal