You are here

public function GoodUnitTest::getWarningList in Coder 8.2

Same name in this branch
  1. 8.2 coder_sniffer/DrupalPractice/Test/good/GoodUnitTest.php \DrupalPractice\good\GoodUnitTest::getWarningList()
  2. 8.2 coder_sniffer/Drupal/Test/good/GoodUnitTest.php \Drupal\good\GoodUnitTest::getWarningList()

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/DrupalPractice/Test/good/GoodUnitTest.php, line 40

Class

GoodUnitTest
Unit test class for all good files that must not throw errors/warnings.

Namespace

DrupalPractice\good

Code

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