protected function UseGlobalClassUnitTest::getErrorList in Coder 8.3.x
Same name and namespace in other branches
- 8.3 tests/Drupal/Classes/UseGlobalClassUnitTest.php \Drupal\Test\Classes\UseGlobalClassUnitTest::getErrorList()
Returns the lines where errors should occur.
The key of the array should represent the line number and the value should represent the number of errors that should occur on that line.
Parameters
string $testFile The name of the file being tested.:
Return value
array<int, int>
Overrides CoderSniffUnitTest::getErrorList
File
- tests/
Drupal/ Classes/ UseGlobalClassUnitTest.php, line 21
Class
Namespace
Drupal\Test\ClassesCode
protected function getErrorList(string $testFile) : array {
return [
8 => 1,
11 => 1,
12 => 1,
13 => 1,
15 => 1,
];
}