Метод | Описание | |
---|---|---|
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. |
Метод | Описание | |
---|---|---|
_validateInlineEmbeddedPhp ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void | Validates embedded PHP that exists on one line. | |
_validateMultilineEmbeddedPhp ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void | Validates embedded PHP that exists on multiple lines. |