Property | Type | Description | |
---|---|---|---|
$error | boolean | If true, an error will be thrown; otherwise a warning. | |
$supportedTokenizers | array | A list of tokenizers this sniff supports. |
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. |
public bool $error | ||
return | boolean |
public array $supportedTokenizers | ||
return | array |