public function GetRequestDataSniff::register in Coder 8.3.x
Same name and namespace in other branches
- 8.3 coder_sniffer/DrupalPractice/Sniffs/Variables/GetRequestDataSniff.php \DrupalPractice\Sniffs\Variables\GetRequestDataSniff::register()
Returns an array of tokens this test wants to listen for.
Return value
array<int|string>
File
- coder_sniffer/
DrupalPractice/ Sniffs/ Variables/ GetRequestDataSniff.php, line 36
Class
- GetRequestDataSniff
- Ensures that Symfony request object is used to access super globals.
Namespace
DrupalPractice\Sniffs\VariablesCode
public function register() {
return [
T_VARIABLE,
];
}