You are here

public function CheckPlainSniff::registerFunctionNames in Coder 8.3.x

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

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

Return value

array<string>

File

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

Class

CheckPlainSniff
Check that check_plain() is not used on literal strings.

Namespace

DrupalPractice\Sniffs\FunctionCalls

Code

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