You are here

protected function GlobalClassUnitTest::getTestFiles in Coder 8.3.x

Same name and namespace in other branches
  1. 8.3 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

GlobalClassUnitTest

Namespace

DrupalPractice\Test\Objects

Code

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',
  ];
}