v-wordpress-plugin-updater/.github/phpunit-bootstrap.php
2026-04-06 09:47:05 -04:00

16 lines
455 B
PHP

<?php
// PHPUnit bootstrap wrapper moved into .github directory to keep repo root clean.
$autoload = __DIR__ . '/../vendor/autoload.php';
if (file_exists($autoload)) {
require_once $autoload;
}
$updateApiAutoload = __DIR__ . '/../v-update-api/vendor/autoload.php';
if (file_exists($updateApiAutoload)) {
require_once $updateApiAutoload;
}
$local = __DIR__ . '/../tests/bootstrap-local.php';
if (file_exists($local)) {
require_once $local;
}