You are here

public function Drupal_Sniffs_Semantics_ConstantNameSniff::registerFunctionNames in Coder 7.2

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

Return value

array

File

coder_sniffer/Drupal/Sniffs/Semantics/ConstantNameSniff.php, line 29

Class

Drupal_Sniffs_Semantics_ConstantNameSniff
Checks that constants introduced with define() in module files start with the module's name.

Code

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