PHP 클래스 CakePHP_Sniffs_NamingConventions_ValidFunctionNameSniff

상속: extends PHP_CodeSniffer_Standards_AbstractScopeSniff
파일 보기 프로젝트 열기: cakephp/cakephp-codesniffer

보호된 프로퍼티들

프로퍼티 타입 설명
$_magicMethods array A list of all PHP magic methods.

공개 메소드들

메소드 설명
__construct ( ) Constructs a PEAR_Sniffs_NamingConventions_ValidFunctionNameSniff.

보호된 메소드들

메소드 설명
processTokenOutsideScope ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void Processes the tokens outside the scope.
processTokenWithinScope ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr, integer $currScope ) : void Processes the tokens within the scope.

메소드 상세

__construct() 공개 메소드

Constructs a PEAR_Sniffs_NamingConventions_ValidFunctionNameSniff.
public __construct ( )

processTokenOutsideScope() 보호된 메소드

Processes the tokens outside the scope.
protected processTokenOutsideScope ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void
$phpcsFile PHP_CodeSniffer_File The file being processed.
$stackPtr integer The position where this token was found.
리턴 void

processTokenWithinScope() 보호된 메소드

Processes the tokens within the scope.
protected processTokenWithinScope ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr, integer $currScope ) : void
$phpcsFile PHP_CodeSniffer_File The file being processed.
$stackPtr integer The position where this token was found.
$currScope integer The position of the current scope.
리턴 void

프로퍼티 상세

$_magicMethods 보호되어 있는 프로퍼티

A list of all PHP magic methods.
protected array $_magicMethods
리턴 array