This commit is contained in:
nuno maduro
2026-05-01 13:54:25 +01:00
parent b5bb2139dc
commit 4a2fc179ae
2 changed files with 188 additions and 0 deletions

View File

@ -151,6 +151,12 @@ use Symfony\Component\Console\Output\ConsoleOutput;
// mode gates).
\Pest\Support\XdebugGuard::maybeDrop($rootPath);
// Restarts PHP with `pcov.directory=<root>` when `--tia` is active and
// pcov is loaded, so the driver never instruments anything outside the
// project (vendor, system includes). Idempotent — guarded by an env
// sentinel so a single round-trip is enough.
\Pest\Support\PcovGuard::maybeRestart($rootPath);
$input = new ArgvInput;
$testSuite = TestSuite::getInstance(