protected function DbQueryUnitTest::getWarningList in Coder 8.2
Returns the lines where warnings should occur.
The key of the array should represent the line number and the value should represent the number of warnings that should occur on that line.
Return value
array(int => int)
Overrides CoderSniffUnitTest::getWarningList
File
- coder_sniffer/
DrupalPractice/ Test/ FunctionCalls/ DbQueryUnitTest.php, line 43
Class
- DbQueryUnitTest
- Unit test class for the DbQuery sniff.
Namespace
DrupalPractice\Sniffs\FunctionCallsCode
protected function getWarningList($testFile = NULL) {
return array(
3 => 1,
4 => 1,
5 => 1,
12 => 1,
18 => 1,
);
}