PHP Класс CakePHP_Sniffs_NamingConventions_ValidFunctionNameSniff

Наследование: extends PHP_CodeSniffer_Standards_AbstractScopeSniff
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_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