You are here

public function GoodUnitTest::getErrorList in Coder 8.2

Same name in this branch
  1. 8.2 coder_sniffer/DrupalPractice/Test/good/GoodUnitTest.php \DrupalPractice\good\GoodUnitTest::getErrorList()
  2. 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\good

Code

public function getErrorList($testFile = NULL) {
  return array();
}