writeln([ '', ' ERROR Tia mode could not determine the default branch.', '', ' It is the branch whose baseline every other branch falls back to reading, and', ' nothing in this checkout names it: the repository has a remote, but no', ' origin/HEAD, and no CI provider stated it either. Guessing would re-run the', ' whole suite on every new branch while reporting it as a cache hit.', '', ' Name the branch in tests/Pest.php:', '', ' pest()->tia()->defaultBranch(\'master\');', '', ' Or let git answer, once per clone:', '', ' git remote set-head origin --auto', '', ]); } public function exitCode(): int { return 1; } }