You are here

protected function OptionsTUnitTest::getWarningList in Coder 8.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)

Overrides CoderSniffUnitTest::getWarningList

File

coder_sniffer/DrupalPractice/Test/General/OptionsTUnitTest.php, line 40

Class

OptionsTUnitTest
Unit test class for the OptionsT sniff.

Namespace

DrupalPractice\Sniffs\General

Code

protected function getWarningList($testFile = NULL) {
  return array(
    14 => 1,
  );
}