Repository navigation
Update pestphp/pest requirement from ^2.0 || ^3.0 to ^5.3.4 - #92
Merged
Merged
Conversation
ajthinking
added a commit
that referenced
this pull request
Nov 5, 2026
Dependabot (#92) proposed replacing "^2.0 || ^3.0" with "^5.3.4". Pest 5 requires PHP ^8.4 and Symfony 8 components, so as a hard pin it broke every CI job except PHP 8.4/8.5 on Laravel 13: PHP 8.1-8.3 can't install it at all (PHPStan runs on 8.3), and testbench 9/10 (Laravel 11/12) pin symfony/process ^7, which conflicts with Pest 5 even on PHP 8.4+. Archetype still supports PHP ^8.1 and Laravel 10-13, so instead of dropping those, widen the dev constraint to "^2.0 || ^3.0 || ^4.0 || ^5.3.4" and let Composer pick the newest Pest each matrix cell can install. ^4.0 is included so cells that can't reach 5 (PHP 8.3, Symfony 7 stacks) aren't stuck on 3. Co-Authored-By: t-1000 (Claude Code) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rae8muhQAQUSQbPZ9vRukJ
ajthinking
force-pushed
the
dependabot/composer/pestphp/pest-tw-5.3.4
branch
from
November 5, 2026 21:28
2e38855 to
09dafcc
Compare
Dependabot (#92) proposed replacing "^2.0 || ^3.0" with "^5.3.4". Pest 5 requires PHP ^8.4 and Symfony 8 components, so as a hard pin it broke every CI job except PHP 8.4/8.5 on Laravel 13: PHP 8.1-8.3 can't install it at all (PHPStan runs on 8.3), and testbench 9/10 (Laravel 11/12) pin symfony/process ^7, which conflicts with Pest 5 even on PHP 8.4+. Archetype still supports PHP ^8.1 and Laravel 10-13, so instead of dropping those, widen the dev constraint to "^2.0 || ^3.0 || ^4.0 || ^5.3.4" and let Composer pick the newest Pest each matrix cell can install. ^4.0 is included so cells that can't reach 5 (PHP 8.3, Symfony 7 stacks) aren't stuck on 3. With that, the PHPStan job resolves Pest 4, which types $this inside test closures. The two inline "@phpstan-ignore-line" comments on $this->artisan() in ErrorsCommandTest then had nothing to ignore and PHPStan failed on ignore.unmatchedLine. They are replaced by one path-scoped ignoreErrors entry in phpstan.neon with reportUnmatched: false, so analysis passes whether Pest 2/3 (untyped $this) or 4/5 is installed. Co-Authored-By: t-1000 (Claude Code) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rae8muhQAQUSQbPZ9vRukJ
ajthinking
force-pushed
the
dependabot/composer/pestphp/pest-tw-5.3.4
branch
from
November 5, 2026 21:32
09dafcc to
a6437b3
Compare
ajthinking
approved these changes
Nov 5, 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.
Updates the requirements on pestphp/pest to permit the latest version.
Release notes
Sourced from pestphp/pest's releases.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)