abstract protected function CoderSniffUnitTest::getErrorList in Coder 7.2
Returns the lines where errors should occur.
The key of the array should represent the line number and the value should represent the number of errors that should occur on that line.
Return value
array(int => int)
1 call to CoderSniffUnitTest::getErrorList()
- CoderSniffUnitTest::generateFailureMessages in coder_sniffer/
Test/ CoderSniffUnitTest.php - Generate a list of test failures for a given sniffed file.
3 methods override CoderSniffUnitTest::getErrorList()
- Drupal_BadUnitTest::getErrorList in coder_sniffer/
Test/ bad/ BadUnitTest.php - Returns the lines where errors should occur.
- Drupal_GoodUnitTest::getErrorList in coder_sniffer/
Test/ good/ GoodUnitTest.php - Returns the lines where errors should occur.
- Drupal_Sniffs_Commenting_FileCommentUnitTest::getErrorList in coder_sniffer/
Test/ Commenting/ FileCommentUnitTest.php - Returns the lines where errors should occur.
File
- coder_sniffer/
Test/ CoderSniffUnitTest.php, line 336
Class
- CoderSniffUnitTest
- An abstract class that all sniff unit tests must extend.
Code
protected abstract function getErrorList($testFile);