<?php

declare(strict_types=1);

/**
 * PHPUnit bootstrap.
 *
 * Loads Composer's autoloader and boots the configuration registry against a
 * throwaway environment so config()/helpers work inside tests without a live
 * database. Tests that need DB access should mock or skip accordingly.
 */

use BotGuard\Core\Config;

require dirname(__DIR__) . '/vendor/autoload.php';

// Boot config from the project root (reads config/*.php; .env optional in tests).
Config::boot(dirname(__DIR__));
