public function GoodUnitTest::getErrorList in Coder 8.2
Same name in this branch
- 8.2 coder_sniffer/DrupalPractice/Test/good/GoodUnitTest.php \DrupalPractice\good\GoodUnitTest::getErrorList()
- 8.2 coder_sniffer/Drupal/Test/good/GoodUnitTest.php \Drupal\good\GoodUnitTest::getErrorList()
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)
Overrides CoderSniffUnitTest::getErrorList
File
- coder_sniffer/
Drupal/ Test/ good/ GoodUnitTest.php, line 25
Class
- GoodUnitTest
- Unit test class for all good files that must not throw errors/warnings.
Namespace
Drupal\goodCode
public function getErrorList($testFile = NULL) {
return array();
}