You are here

protected function DisallowLongArraySyntaxUnitTest::getTestFiles in Coder 8.3.x

Same name and namespace in other branches
  1. 8.3 tests/Drupal/Arrays/DisallowLongArraySyntaxUnitTest.php \Drupal\Test\Arrays\DisallowLongArraySyntaxUnitTest::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/Drupal/Arrays/DisallowLongArraySyntaxUnitTest.php, line 58

Class

DisallowLongArraySyntaxUnitTest

Namespace

Drupal\Test\Arrays

Code

protected function getTestFiles($testFileBase) : array {
  return [
    __DIR__ . '/disallow_long_array_d7/DisallowLongArraySyntaxUnitTest.1.inc',
    __DIR__ . '/disallow_long_array_d8/DisallowLongArraySyntaxUnitTest.2.inc',
  ];
}