You are here

public function FunctionCall::register in Coder 8.3

Same name and namespace in other branches
  1. 8.2 coder_sniffer/Drupal/Sniffs/Semantics/FunctionCall.php \Drupal\Sniffs\Semantics\FunctionCall::register()
  2. 8.3.x 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\Semantics

Code

public function register() {
  return [
    T_STRING,
  ];
}