MediaWiki master
|
Public Member Functions | |
__construct (string $rootDir) | |
scanForFiles () | |
Definition at line 13 of file PhpUnitTestFileScanner.php.
MediaWiki\Composer\PhpUnitSplitter\PhpUnitTestFileScanner::__construct | ( | string | $rootDir | ) |
Definition at line 17 of file PhpUnitTestFileScanner.php.
MediaWiki\Composer\PhpUnitSplitter\PhpUnitTestFileScanner::scanForFiles | ( | ) |
.php
files found on the filesystem inside $rootDir
. The array maps file basenames (i.e. MyClassTest.php
) to lists of paths where that basename is found (e.g. ‘[ 'tests/phpunit/MyClassTest.php’, 'extensions/MyExtension/tests/phpunit/MyClassTest.php' ]`) Definition at line 28 of file PhpUnitTestFileScanner.php.