You are here

public function FunctionTUnitTest::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/Drupal/Test/Semantics/FunctionTUnitTest.php, line 36

Class

FunctionTUnitTest

Namespace

Drupal\Sniffs\Semantics

Code

public function getWarningList($testFile = NULL) {
  return array(
    4 => 1,
    17 => 1,
    20 => 1,
    25 => 1,
    29 => 1,
    33 => 1,
  );
}