abstract protected function CoderSniffUnitTest::getWarningList in Coder 7.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)
1 call to CoderSniffUnitTest::getWarningList()
- CoderSniffUnitTest::generateFailureMessages in coder_sniffer/
Test/ CoderSniffUnitTest.php - Generate a list of test failures for a given sniffed file.
3 methods override CoderSniffUnitTest::getWarningList()
- Drupal_BadUnitTest::getWarningList in coder_sniffer/
Test/ bad/ BadUnitTest.php - Returns the lines where warnings should occur.
- Drupal_GoodUnitTest::getWarningList in coder_sniffer/
Test/ good/ GoodUnitTest.php - Returns the lines where warnings should occur.
- Drupal_Sniffs_Commenting_FileCommentUnitTest::getWarningList in coder_sniffer/
Test/ Commenting/ FileCommentUnitTest.php - Returns the lines where warnings should occur.
File
- coder_sniffer/
Test/ CoderSniffUnitTest.php, line 347
Class
- CoderSniffUnitTest
- An abstract class that all sniff unit tests must extend.
Code
protected abstract function getWarningList($testFile);