You are here

public function DbSelectBracesSniff::registerFunctionNames in Coder 8.3

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

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

Return value

array<string>

File

coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/DbSelectBracesSniff.php, line 31

Class

DbSelectBracesSniff
Check that db_select() calls do not use {} braces for the table name.

Namespace

DrupalPractice\Sniffs\FunctionCalls

Code

public function registerFunctionNames() {
  return [
    'db_select',
  ];
}