| 1 | <?php |
||
| 8 | class MethodFlagParameterSniff implements PHP_CodeSniffer_Sniff |
||
| 9 | { |
||
| 10 | |||
| 11 | protected $booleans = ['T_FALSE', 'T_TRUE']; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Returns the token types that this sniff is interested in. |
||
| 15 | * @return array |
||
| 16 | */ |
||
| 17 | public function register() |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Processes the tokens that this sniff is interested in. |
||
| 24 | * |
||
| 25 | * @param PHP_CodeSniffer_File $phpcsFile The file where the token was found. |
||
| 26 | * @param integer $stackPtr The position in the stack where |
||
| 27 | * the token was found. |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
||
| 45 | } |
||
| 46 |