You are here

abstract protected function CoderSniffUnitTest::getWarningList in Coder 8.2

Same name and namespace in other branches
  1. 8.3 tests/Drupal/CoderSniffUnitTest.php \Drupal\Test\CoderSniffUnitTest::getWarningList()
  2. 8.3.x tests/Drupal/CoderSniffUnitTest.php \Drupal\Test\CoderSniffUnitTest::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)

1 call to CoderSniffUnitTest::getWarningList()
CoderSniffUnitTest::generateFailureMessages in coder_sniffer/Drupal/Test/CoderSniffUnitTest.php
Generate a list of test failures for a given sniffed file.
71 methods override CoderSniffUnitTest::getWarningList()
AccessHookMenuUnitTest::getWarningList in coder_sniffer/DrupalPractice/Test/FunctionDefinitions/AccessHookMenuUnitTest.php
Returns the lines where warnings should occur.
ArrayUnitTest::getWarningList in coder_sniffer/Drupal/Test/Arrays/ArrayUnitTest.php
Returns the lines where warnings should occur.
AuthorTagUnitTest::getWarningList in coder_sniffer/DrupalPractice/Test/Commenting/AuthorTagUnitTest.php
Returns the lines where warnings should occur.
AutoAddedKeysUnitTest::getWarningList in coder_sniffer/Drupal/Test/InfoFiles/AutoAddedKeysUnitTest.php
Returns the lines where warnings should occur.
BadUnitTest::getWarningList in coder_sniffer/Drupal/Test/bad/BadUnitTest.php
Returns the lines where warnings should occur.

... See full list

File

coder_sniffer/Drupal/Test/CoderSniffUnitTest.php, line 464

Class

CoderSniffUnitTest

Namespace

Drupal\Test

Code

protected abstract function getWarningList($testFile = NULL);