PHP Класс Squiz_Sniffs_Commenting_FunctionCommentThrowTagSniff, PHP_CodeSniffer
Verifies the number of @throws tags and the number of throw tokens matches.
Verifies the exception type.
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
__construct ( ) |
Constructs a Squiz_Sniffs_Commenting_FunctionCommentThrowTagSniff. |
|
Защищенные методы
Описание методов
__construct()
публичный Метод
Constructs a Squiz_Sniffs_Commenting_FunctionCommentThrowTagSniff.
processTokenWithinScope()
защищенный Метод
Processes the function tokens within the class.
protected processTokenWithinScope ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr, integer $currScope ) : void |
$phpcsFile |
PHP_CodeSniffer_File |
The file where this token was found. |
$stackPtr |
integer |
The position where the token was found. |
$currScope |
integer |
The current scope opener token. |
Результат |
void |
|