Upgrade Pest PHP from v4 to v5 - #215
Merged
Merged
Conversation
Bump pestphp/pest, pest-plugin-laravel, and pest-plugin-browser to ^5.0. pest-plugin-laravel v5 requires Laravel ^13.23, so the framework lock is updated accordingly. Refresh agent docs/skills for the Pest 5 / PHPUnit 13 baseline. Co-authored-by: Paulo Castellano <hello@paulocastellano.com>
paulocastellano
marked this pull request as ready for review
July 31, 2026 01:54
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
Upgrades the test stack from Pest 4 / PHPUnit 12 to Pest 5 / PHPUnit 13, following the Pest upgrade guide.
Dependency changes
pestphp/pest:^4.4→^5.0(resolvedv5.0.2)pestphp/pest-plugin-laravel:^4.1→^5.0(resolvedv5.0.1)pestphp/pest-plugin-browser:^4.3→^5.0(resolvedv5.0.0)phpunit/phpunit:12.5.x→13.2.6laravel/framework:13.15.0→13.23.0(required bypest-plugin-laravelv5.0.1, which needs^13.23.0)nunomaduro/collision:8.9.4→8.9.5(required by Pest 5)Docs / agent guidance
Updated Pest/PHPUnit version references in
AGENTS.md,CLAUDE.md,GEMINI.md, Cursor rules, Copilot instructions, and the Pest testing skill.Verification
phpunit.xmldid not need--migrate-configurationtests/Unit+tests/Feature/Auth+tests/Feature/Workspace— 749 passed, 1 skippedNotes