You are here

public function VariableNameSniff::registerFunctionNames in Coder 8.2

Same name and namespace in other branches
  1. 8.3 coder_sniffer/DrupalPractice/Sniffs/General/VariableNameSniff.php \DrupalPractice\Sniffs\General\VariableNameSniff::registerFunctionNames()
  2. 8.3.x coder_sniffer/DrupalPractice/Sniffs/General/VariableNameSniff.php \DrupalPractice\Sniffs\General\VariableNameSniff::registerFunctionNames()

Returns an array of function names this test wants to listen for.

Return value

array

File

coder_sniffer/DrupalPractice/Sniffs/General/VariableNameSniff.php, line 33

Class

VariableNameSniff
Checks the usage of variable_get() in forms and the variable name.

Namespace

DrupalPractice\Sniffs\General

Code

public function registerFunctionNames() {
  return array(
    'variable_get',
  );
}