protected function ConstantNameUnitTest::getWarningList in Coder 8.3.x
Same name and namespace in other branches
- 8.3 tests/Drupal/Semantics/ConstantNameUnitTest.php \Drupal\Test\Semantics\ConstantNameUnitTest::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.
Parameters
string $testFile The name of the file being tested.:
Return value
array<int, int>
Overrides CoderSniffUnitTest::getWarningList
File
- tests/
Drupal/ Semantics/ ConstantNameUnitTest.php, line 55
Class
Namespace
Drupal\Test\SemanticsCode
protected function getWarningList(string $testFile) : array {
return [
3 => 1,
];
}