public function AutoAddedKeysUnitTest::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/
Drupal/ Test/ InfoFiles/ AutoAddedKeysUnitTest.php, line 38
Class
- AutoAddedKeysUnitTest
- A sniff unit test checks a .inc file for expected violations of a single coding standard. Expected errors and warnings are stored in this class.
Namespace
Drupal\Sniffs\InfoFilesCode
public function getWarningList($testFile = NULL) {
return array(
1 => 3,
);
}