1 | <?php |
||
26 | class PHPCompatibility_Sniffs_PHP_TernaryOperatorsSniff extends PHPCompatibility_Sniff |
||
27 | { |
||
28 | |||
29 | /** |
||
30 | * Returns an array of tokens this test wants to listen for. |
||
31 | * |
||
32 | * @return array |
||
33 | */ |
||
34 | public function register() |
||
38 | |||
39 | /** |
||
40 | * Processes this test, when one of its tokens is encountered. |
||
41 | * |
||
42 | * @param PHP_CodeSniffer_File $phpcsFile The file being scanned. |
||
43 | * @param int $stackPtr The position of the current token in the |
||
44 | * stack passed in $tokens. |
||
45 | * |
||
46 | * @return void |
||
47 | */ |
||
48 | public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
||
66 | } |
||
67 |