PHP 클래스 Kohana_Sniffs_NamingConventions_ValidVariableNameSniff, coding-standards

저자: Matthew Turland ([email protected])
상속: extends PHP_CodeSniffer_Standards_AbstractVariableSniff
파일 보기 프로젝트 열기: kohana/coding-standards

보호된 메소드들

메소드 설명
processMemberVar ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void Processes class member variables.
processVariable ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void Processes normal variables.
processVariableInString ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void Processes interpolated variables in double quoted strings.

비공개 메소드들

메소드 설명
validateName ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : boolean Supporting method to validate variable names.

메소드 상세

processMemberVar() 보호된 메소드

Processes class member variables.
protected processMemberVar ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void
$phpcsFile PHP_CodeSniffer_File File being scanned
$stackPtr integer Position of the current token in the stack passed in $tokens
리턴 void

processVariable() 보호된 메소드

Processes normal variables.
protected processVariable ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void
$phpcsFile PHP_CodeSniffer_File File where this token was found
$stackPtr integer Position where the token was found
리턴 void

processVariableInString() 보호된 메소드

Processes interpolated variables in double quoted strings.
protected processVariableInString ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void
$phpcsFile PHP_CodeSniffer_File File where this token was found
$stackPtr integer Position where the token was found
리턴 void