protected function GlobalClassUnitTest::getTestFiles in Coder 8.3
Same name and namespace in other branches
- 8.3.x tests/DrupalPractice/Objects/GlobalClassUnitTest.php \DrupalPractice\Test\Objects\GlobalClassUnitTest::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/ Objects/ GlobalClassUnitTest.php, line 61
Class
Namespace
DrupalPractice\Test\ObjectsCode
protected function getTestFiles($testFileBase) : array {
return [
__DIR__ . '/GlobalClassUnitTest.inc',
__DIR__ . '/drupal8/example.module',
__DIR__ . '/drupal8/ExampleClass.php',
__DIR__ . '/drupal8/ExampleClassWithDependencyInjection.php',
__DIR__ . '/drupal8/ExampleService.php',
];
}