$path ) { if ( realpath( $path ) === $libTestDir ) { unset( $paths[$idx] ); } } $paths = array_values( $paths ); // re-index // If we need to add extension-specific Parsoid tests // we'll put them in extension/tests/phpunit. $paths[] = __DIR__ . '/../tests/phpunit'; } }