You are here

public function FileEncodingUnitTest::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.

Parameters

string $testFile The name of the file being tested.:

Return value

array<int, int>

Overrides CoderSniffUnitTest::getWarningList

File

coder_sniffer/Drupal/Test/Files/FileEncodingUnitTest.php, line 38

Class

FileEncodingUnitTest

Namespace

PHP_CodeSniffer\Standards\Drupal\Tests\Files

Code

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