public function FunctionCall::register in Coder 8.3.x
Same name and namespace in other branches
- 8.3 coder_sniffer/Drupal/Sniffs/Semantics/FunctionCall.php \Drupal\Sniffs\Semantics\FunctionCall::register()
- 8.2 coder_sniffer/Drupal/Sniffs/Semantics/FunctionCall.php \Drupal\Sniffs\Semantics\FunctionCall::register()
Returns an array of tokens this test wants to listen for.
Return value
array<int|string>
File
- coder_sniffer/
Drupal/ Sniffs/ Semantics/ FunctionCall.php, line 75
Class
- FunctionCall
- Helper class to sniff for specific function calls.
Namespace
Drupal\Sniffs\SemanticsCode
public function register() {
return [
T_STRING,
];
}