1 | <?php |
||
17 | class PHPCompatibility_Sniffs_PHP_NewFunctionArrayDereferencingSniff extends PHPCompatibility_Sniff |
||
18 | { |
||
19 | /** |
||
20 | * Returns an array of tokens this test wants to listen for. |
||
21 | * |
||
22 | * @return array |
||
23 | */ |
||
24 | public function register() |
||
28 | |||
29 | /** |
||
30 | * Processes this test, when one of its tokens is encountered. |
||
31 | * |
||
32 | * @param PHP_CodeSniffer_File $phpcsFile The file being scanned. |
||
33 | * @param int $stackPtr The position of the current token in |
||
34 | * the stack passed in $tokens. |
||
35 | * |
||
36 | * @return void |
||
37 | */ |
||
38 | public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
||
64 | }//end class |
||
65 |