You are here

protected function GlobalFunctionUnitTest::getTestFiles in Coder 8.3.x

Same name and namespace in other branches
  1. 8.3 tests/DrupalPractice/Objects/GlobalFunctionUnitTest.php \DrupalPractice\Test\Objects\GlobalFunctionUnitTest::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/GlobalFunctionUnitTest.php, line 72

Class

GlobalFunctionUnitTest

Namespace

DrupalPractice\Test\Objects

Code

protected function getTestFiles($testFileBase) : array {
  return [
    __DIR__ . '/drupal8/DeclareT.php',
    __DIR__ . '/drupal8/example.module',
    __DIR__ . '/drupal8/ExampleClass.php',
    __DIR__ . '/drupal8/ExampleClassWithDependencyInjection.php',
    __DIR__ . '/drupal8/ExampleService.php',
    __DIR__ . '/drupal8/TestForm.php',
    __DIR__ . '/drupal7/ExampleMigration.php',
  ];
}