Свойство | Type | Description | |
---|---|---|---|
$commentFormat | string | The placeholder %s will be replaced with the type of condition opener. | |
$lineLimit | integer | The length that a code block must be before requiring a closing comment. | |
$supportedTokenizers | array | A list of tokenizers this sniff supports. |
Méthode | 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 string $commentFormat | ||
Résultat | string |
public int $lineLimit | ||
Résultat | integer |
public array $supportedTokenizers | ||
Résultat | array |