PHP Класс Squiz_Sniffs_Commenting_VariableCommentSniff, PHP_CodeSniffer

Автор: Greg Sherwood ([email protected])
Автор: Marc McIntyre ([email protected])
Наследование: extends PHP_CodeSniffer_Standards_AbstractVariableSniff
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
processMemberVar ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void Called to process class member vars.

Защищенные методы

Метод Описание
processVariable ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void Called to process a normal variable.
processVariableInString ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void Called to process variables found in double quoted strings.

Описание методов

processMemberVar() публичный Метод

Called to process class member vars.
public processMemberVar ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void
$phpcsFile PHP_CodeSniffer_File The file being scanned.
$stackPtr integer The position of the current token in the stack passed in $tokens.
Результат void

processVariable() защищенный Метод

Not required for this sniff.
protected processVariable ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void
$phpcsFile PHP_CodeSniffer_File The PHP_CodeSniffer file where this token was found.
$stackPtr integer The position where the double quoted string was found.
Результат void

processVariableInString() защищенный Метод

Not required for this sniff.
protected processVariableInString ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void
$phpcsFile PHP_CodeSniffer_File The PHP_CodeSniffer file where this token was found.
$stackPtr integer The position where the double quoted string was found.
Результат void