Repository navigation
feat(phpunit): run PHPUnit 10+ suites in the in-process runner - #2620
Merged
Merged
Conversation
chubes4
marked this pull request as ready for review
December 2, 2026 21:11
This was referenced Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Project bootstraps that loaded PHPUnit 10 or newer reached the PHPUnit 9 runner API and failed before executing tests. Both in-process runners now detect the loaded major and use PHPUnit’s Application entrypoint for 10–12 while preserving the existing structured output and exit-code contract.
What changed
Verification
All gates passed on
4ef1bc4. Basemain@9c00132unchanged.HOMEBOY_LINT_BASE=9c001329830108844eb9463786d6808e65b2f7a6 homeboy --placement local review lint wp-codebox --path . --…: passed, 102461 ms; retained gate metadata.npm run build: passed, 499 ms; retained gate metadata.npx tsx --test tests/phpunit-discovery-only.test.ts tests/phpunit-project-autoload.test.ts: passed, 2040 ms; retained gate metadata.Cook run
agent-task-6dc3d80c-d394-4149-9c42-e6f9f2ef2118agent-task-6dc3d80c-d394-4149-9c42-e6f9f2ef2118-attempt-1-227cdc8fff72c199f6cc6e74acc5ae05ac2437e5a9faa859ff72c199f6cc6e74acc5ae05ac2437e5a9faa859ff72c199f6cc6e74acc5ae05ac2437e5a9faa859Evidence
STAGE_FAIL:run_tests:TypeErrorbecauseTestRunner::run()received aTestSuiteinstead of aConfiguration. The PR reportedSOME TESTS FAILED,TESTS: 2 ASSERTIONS: 2 FAILURES: 1 ERRORS: 0, andSTAGE_OK:run_tests, with exit 1. The passing-only filter reportedALL TESTS PASSEDwith exit 0.AI disclosure
Tool: Homeboy Cook. Agent: Homeboy (roadie). Model: roadie · route cook-heavy · served gpt-6.2-sol. Cook time: 27m32s.
AI implemented the version-aware runner and verified it with Composer-installed PHPUnit fixtures, under the direction of the Cook requester. Homeboy reports controller verification separately from this account of the AI's work. A human reviews before merge.
Refs #2619