PHP Класс Squiz_Sniffs_Commenting_FunctionCommentThrowTagSniff, PHP_CodeSniffer

Verifies the number of @throws tags and the number of throw tokens matches. Verifies the exception type.
Автор: Greg Sherwood ([email protected])
Автор: Marc McIntyre ([email protected])
Наследование: extends PHP_CodeSniffer_Standards_AbstractScopeSniff
Показать файл Открыть проект

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

Метод Описание
__construct ( ) Constructs a Squiz_Sniffs_Commenting_FunctionCommentThrowTagSniff.

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

Метод Описание
processTokenWithinScope ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr, integer $currScope ) : void Processes the function tokens within the class.

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

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

Constructs a Squiz_Sniffs_Commenting_FunctionCommentThrowTagSniff.
public __construct ( )

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