public function LCheckPlainSniff::registerFunctionNames in Coder 8.3.x
Same name and namespace in other branches
- 8.3 coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/LCheckPlainSniff.php \DrupalPractice\Sniffs\FunctionCalls\LCheckPlainSniff::registerFunctionNames()
- 8.2 coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/LCheckPlainSniff.php \DrupalPractice\Sniffs\FunctionCalls\LCheckPlainSniff::registerFunctionNames()
Returns an array of function names this test wants to listen for.
Return value
array<string>
File
- coder_sniffer/
DrupalPractice/ Sniffs/ FunctionCalls/ LCheckPlainSniff.php, line 31
Class
- LCheckPlainSniff
- The first argument of the l() function should not be check_plain()'ed.
Namespace
DrupalPractice\Sniffs\FunctionCallsCode
public function registerFunctionNames() {
return [
'l',
];
}