Property | Type | Description | |
---|---|---|---|
$supportedTokenizers | array | A list of tokenizers this sniff supports. |
Property | Type | Description | |
---|---|---|---|
$classCount | integer | The number of times the T_CLASS token is encountered in the file. | |
$currentFile | string | The current file this class is operating on. |
Method | Description | |
---|---|---|
process ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void | Processes this test, when one of its tokens is encountered. | |
register ( ) : array | Returns an array of tokens this test wants to listen for. |
protected int $classCount | ||
return | integer |
protected string $currentFile | ||
return | string |
public array $supportedTokenizers | ||
return | array |