Skip to content

Update pestphp/pest requirement from ^2.0 || ^3.0 to ^5.3.4 - #92

Merged
ajthinking merged 1 commit into
masterfrom
dependabot/composer/pestphp/pest-tw-5.3.4
Nov 5, 2026
Merged

ajthinking merged 1 commit into
masterfrom
dependabot/composer/pestphp/pest-tw-5.3.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on pestphp/pest to permit the latest version.

Release notes

Sourced from pestphp/pest's releases.

v5.3.4

What's Changed

New Contributors

Full Changelog: pestphp/pest@v5.3.3...v5.3.4

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 1, 2026
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
ajthinking force-pushed the dependabot/composer/pestphp/pest-tw-5.3.4 branch from 2e38855 to 09dafcc Compare November 5, 2026 21:28
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
ajthinking force-pushed the dependabot/composer/pestphp/pest-tw-5.3.4 branch from 09dafcc to a6437b3 Compare November 5, 2026 21:32
@ajthinking
ajthinking merged commit 4bd4e47 into master Nov 5, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant