You are here

public function InlineCommentUnitTest::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/Commenting/InlineCommentUnitTest.php, line 45

Class

InlineCommentUnitTest

Namespace

Drupal\Sniffs\Commenting

Code

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