Property | Type | Description | |
---|---|---|---|
$minLength | integer | Minimum variable/method name length. | |
$tokenString | string | Token string representation. | |
$tokenTypeLengthFactor | integer | Token type length factor, reducing the actual size of token by a factor of value. |
Method | Description | |
---|---|---|
process ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) | ||
register ( ) : array |
Method | Description | |
---|---|---|
isValid ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : boolean |
Method | Description | |
---|---|---|
handleMinContentLength ( string $content ) | ||
isShortContentAllowed ( string $content ) : boolean |
protected int $minLength | ||
return | integer |
protected string $tokenString | ||
return | string |
protected int $tokenTypeLengthFactor | ||
return | integer |