| 1 | <?php declare(strict_types = 1); |
||
| 8 | class ClassNameInConstructorSniff implements PHP_CodeSniffer_Sniff |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Returns the token types that this sniff is interested in. |
||
| 12 | * @return array |
||
| 13 | */ |
||
| 14 | public function register(): array |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Processes the tokens that this sniff is interested in. |
||
| 21 | * |
||
| 22 | * @param PHP_CodeSniffer_File $phpcsFile The file where the token was found. |
||
| 23 | * @param integer $stackPtr The position in the stack where the token was found. |
||
| 24 | * @return void |
||
| 25 | */ |
||
| 26 | public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
||
| 45 | } |
||
| 46 |