protected function GoodUnitTest::getTestFiles in Coder 8.3.x
Same name in this branch
- 8.3.x tests/DrupalPractice/good/GoodUnitTest.php \DrupalPractice\Test\good\GoodUnitTest::getTestFiles()
- 8.3.x tests/Drupal/good/GoodUnitTest.php \Drupal\Test\good\GoodUnitTest::getTestFiles()
Same name and namespace in other branches
- 8.3 tests/DrupalPractice/good/GoodUnitTest.php \DrupalPractice\Test\good\GoodUnitTest::getTestFiles()
Returns a list of test files that should be checked.
Parameters
string $testFileBase The base path that the unit tests files will have.:
Return value
array<string>
Overrides CoderSniffUnitTest::getTestFiles
File
- tests/
DrupalPractice/ good/ GoodUnitTest.php, line 58
Class
- GoodUnitTest
- Unit test class for all good files that must not throw errors/warnings.
Namespace
DrupalPractice\Test\goodCode
protected function getTestFiles($testFileBase) : array {
return [
__DIR__ . '/good.php',
];
}