phpmyadmin/tests/doctum-config.php
Maurício Meneghini Fauth 1d1c55e250
Move test directory to tests
- Related to #18512

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-11-30 10:47:42 -03:00

26 lines
894 B
PHP

<?php
/**
* This file has been generated by phpmyadmin/scripts/develdocs/build.sh
* @see https://github.com/phpmyadmin/scripts/blob/master/develdocs/doctum.php
* @see https://github.com/phpmyadmin/scripts/blob/master/develdocs/build.sh
*/
use Doctum\Doctum;
use Symfony\Component\Finder\Finder;
use Doctum\RemoteRepository\GitHubRemoteRepository;
$root = realpath(__DIR__ . '/../') . '/';
$iterator = Finder::create()
->files()
->name('*.php')
->in($root . 'src');
return new Doctum($iterator, [
'title' => json_decode(file_get_contents($root . 'composer.json'))->description,
'build_dir' => $root . 'build/apidocs/',
'cache_dir' => $root . 'tmp/',
'source_dir' => $root . '/',
'version' => 'master',
'remote_repository' => new GitHubRemoteRepository('phpmyadmin/phpmyadmin', $root),
]);