|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| processMemberVar (File $phpcsFile, $stackPtr) | |
Protected Member Functions | |
| processVariable (File $phpcsFile, $stackPtr) | |
| processVariableInString (File $phpcsFile, $stackPtr) | |
Definition at line 16 of file VariableCommentSniff.php.
| processMemberVar | ( | File | $phpcsFile, |
| $stackPtr | |||
| ) |
Called to process class member vars.
| \PHP_CodeSniffer\Files\File | $phpcsFile | The file being scanned. |
| int | $stackPtr | The position of the current token in the stack passed in $tokens. |
Definition at line 29 of file VariableCommentSniff.php.
|
protected |
Called to process a normal variable.
Not required for this sniff.
| \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. |
Definition at line 130 of file VariableCommentSniff.php.
|
protected |
Called to process variables found in double quoted strings.
Not required for this sniff.
| \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. |
Definition at line 147 of file VariableCommentSniff.php.