Свойство | Тип | Описание | |
---|---|---|---|
$checkClosures | boolean | Should this sniff check closure braces? | |
$checkFunctions | boolean | Should this sniff check function braces? |
Метод | Описание | |
---|---|---|
process ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void | Processes this test, when one of its tokens is encountered. | |
register ( ) : void | Registers the tokens that this sniff wants to listen for. |
public bool $checkClosures | ||
Результат | boolean |
public bool $checkFunctions | ||
Результат | boolean |