Update dependency pestphp/pest to v5 #113

Open
professeur-chen wants to merge 1 commit from renovate/pestphp-pest-5.x into trunk
Collaborator

This PR contains the following updates:

Package Change Age Confidence
pestphp/pest ^4.0^5.0 age confidence

Release Notes

pestphp/pest (pestphp/pest)

v5.0.2

Compare Source

v5.0.1

Compare Source

fix: missing laravel boost skill by @​pushpak1300 in #​1775

v5.0.0

Compare Source

say hello to pest v5

· tia: the fastest testing engine in the world
· agent browser plugin: 10x better than the rest
· phpstan + rector: built in
· evals: test your agents

announcement: pestphp.com/docs/pest5-now-available

v4.7.7

Compare Source

v4.7.5

Compare Source

  • fix: escape generated test case filename (thanks @​luuhung1217)
  • chore: upgrade github actions commits

v4.7.4

Compare Source

  • fix: internal plugin runtime exception
  • chore: bumps actions/checkout from 6.0.3 to 7.0.0

v4.7.3

Compare Source

  • fix: improve dd output on parallel testing
  • fix: gitlab url not being possible to change
  • fix: team city output being duplicated

v4.7.2

Compare Source

  • fix: pao dealing with pest's fatal errors

v4.7.1

Compare Source

  • fix: improve reporting fatal exceptions
  • chore: various security improvements

v4.7.0

Compare Source

  • maintenance release

v4.6.3

Compare Source

chore: bumps phpunit

v4.6.2

Compare Source

fix: bumps phpunit, as previous versions became invalid due https://github.com/sebastianbergmann/phpunit/security/advisories/GHSA-qrr6-mg7r-m243

v4.6.1

Compare Source

  • fix: up to 30% faster boot times before your test suite runs (measured on laravel cloud)
  • fix: if you pass --filter or a test file, --update-snapshots now only updates the snapshots that match

v4.6.0

Compare Source

For better shard balance, Pest can distribute tests based on their actual execution time using the --update-shards option. This ensures each shard takes roughly the same wall-clock time, minimizing how long your slowest CI job runs.

Step 1: Generate the timing data by running your full test suite with --update-shards:

./vendor/bin/pest --update-shards

This runs all tests and records each test class's duration into tests/.pest/shards.json. You can also combine it with --parallel to speed things up:

./vendor/bin/pest --parallel --update-shards

Step 2: Commit tests/.pest/shards.json to your repository. This file is human-readable and looks like this:

{
    "timings": {
        "Tests\\Feature\\Payments\\StripeCheckoutTest": 1.608,
        "Tests\\Feature\\Reports\\SalesReportTest": 2.105,
        "Tests\\Unit\\Models\\UserTest": 0.050
    },
    "checksum": "...",
    "updated_at": "2026-04-14T10:30:00+00:00"
}

Step 3: When you run --shard and tests/.pest/shards.json exists, Pest automatically uses time-balanced distribution:

./vendor/bin/pest --shard=1/5

The output will indicate that time-balanced sharding is active:

Shard:    1 of 5 — 12 files ran, out of 50 (time-balanced).

v4.5.0

Compare Source

Announcement: x.com/enunomaduro/status/2042697927483609449

v4.4.6

Compare Source

  • chore: stores statically the test result for pao

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [pestphp/pest](https://github.com/pestphp/pest) | `^4.0` → `^5.0` | ![age](https://developer.mend.io/api/mc/badges/age/packagist/pestphp%2fpest/5.0.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/pestphp%2fpest/4.4.5/5.0.2?slim=true) | --- ### Release Notes <details> <summary>pestphp/pest (pestphp/pest)</summary> ### [`v5.0.2`](https://github.com/pestphp/pest/releases/tag/v5.0.2) [Compare Source](https://github.com/pestphp/pest/compare/v5.0.1...v5.0.2) - fix: missing the tia options on `--help` by [@&#8203;talaridisTh](https://github.com/talaridisTh) in [#&#8203;1780](https://github.com/pestphp/pest/pull/1780) - fix: check for pcov being enabled for tia by [@&#8203;ohnotnow](https://github.com/ohnotnow) in [#&#8203;1779](https://github.com/pestphp/pest/pull/1779) ### [`v5.0.1`](https://github.com/pestphp/pest/releases/tag/v5.0.1) [Compare Source](https://github.com/pestphp/pest/compare/v5.0.0...v5.0.1) fix: missing laravel boost skill by [@&#8203;pushpak1300](https://github.com/pushpak1300) in [#&#8203;1775](https://github.com/pestphp/pest/pull/1775) ### [`v5.0.0`](https://github.com/pestphp/pest/releases/tag/v5.0.0) [Compare Source](https://github.com/pestphp/pest/compare/v4.7.7...v5.0.0) say hello to pest v5 · tia: the fastest testing engine in the world · agent browser plugin: 10x better than the rest · phpstan + rector: built in · evals: test your agents announcement: **[pestphp.com/docs/pest5-now-available](https://pestphp.com/docs/pest5-now-available)** ### [`v4.7.7`](https://github.com/pestphp/pest/releases/tag/v4.7.7) [Compare Source](https://github.com/pestphp/pest/compare/v4.7.5...v4.7.7) - fix: report dataset provider errors as failing tests by [@&#8203;sonalidudhia](https://github.com/sonalidudhia) in [#&#8203;1749](https://github.com/pestphp/pest/pull/1749) - chore: removes `--tia` hidden code ### [`v4.7.5`](https://github.com/pestphp/pest/releases/tag/v4.7.5) [Compare Source](https://github.com/pestphp/pest/compare/v4.7.4...v4.7.5) - fix: escape generated test case filename (thanks [@&#8203;luuhung1217](https://github.com/luuhung1217)) - chore: upgrade github actions commits ### [`v4.7.4`](https://github.com/pestphp/pest/releases/tag/v4.7.4) [Compare Source](https://github.com/pestphp/pest/compare/v4.7.3...v4.7.4) - fix: internal plugin runtime exception - chore: bumps `actions/checkout` from `6.0.3` to `7.0.0` ### [`v4.7.3`](https://github.com/pestphp/pest/releases/tag/v4.7.3) [Compare Source](https://github.com/pestphp/pest/compare/v4.7.2...v4.7.3) - fix: improve `dd` output on parallel testing - fix: gitlab url not being possible to change - fix: team city output being duplicated ### [`v4.7.2`](https://github.com/pestphp/pest/releases/tag/v4.7.2) [Compare Source](https://github.com/pestphp/pest/compare/v4.7.1...v4.7.2) - fix: pao dealing with pest's fatal errors ### [`v4.7.1`](https://github.com/pestphp/pest/releases/tag/v4.7.1) [Compare Source](https://github.com/pestphp/pest/compare/v4.7.0...v4.7.1) - fix: improve reporting fatal exceptions - chore: various security improvements ### [`v4.7.0`](https://github.com/pestphp/pest/releases/tag/v4.7.0) [Compare Source](https://github.com/pestphp/pest/compare/v4.6.3...v4.7.0) - maintenance release ### [`v4.6.3`](https://github.com/pestphp/pest/releases/tag/v4.6.3) [Compare Source](https://github.com/pestphp/pest/compare/v4.6.2...v4.6.3) chore: bumps phpunit ### [`v4.6.2`](https://github.com/pestphp/pest/releases/tag/v4.6.2) [Compare Source](https://github.com/pestphp/pest/compare/v4.6.1...v4.6.2) fix: bumps phpunit, as previous versions became invalid due <https://github.com/sebastianbergmann/phpunit/security/advisories/GHSA-qrr6-mg7r-m243> ### [`v4.6.1`](https://github.com/pestphp/pest/releases/tag/v4.6.1) [Compare Source](https://github.com/pestphp/pest/compare/v4.6.0...v4.6.1) - fix: up to 30% faster boot times before your test suite runs (measured on laravel cloud) - fix: if you pass --filter or a test file, --update-snapshots now only updates the snapshots that match ### [`v4.6.0`](https://github.com/pestphp/pest/releases/tag/v4.6.0) [Compare Source](https://github.com/pestphp/pest/compare/v4.5.0...v4.6.0) - feat: time based sharding by [@&#8203;nunomaduro](https://github.com/nunomaduro) in [#&#8203;1671](https://github.com/pestphp/pest/pull/1671) For better shard balance, Pest can distribute tests based on their **actual execution time** using the `--update-shards` option. This ensures each shard takes roughly the same wall-clock time, minimizing how long your slowest CI job runs. **Step 1:** Generate the timing data by running your full test suite with `--update-shards`: ```bash ./vendor/bin/pest --update-shards ``` This runs all tests and records each test class's duration into `tests/.pest/shards.json`. You can also combine it with `--parallel` to speed things up: ```bash ./vendor/bin/pest --parallel --update-shards ``` **Step 2:** Commit `tests/.pest/shards.json` to your repository. This file is human-readable and looks like this: ```json { "timings": { "Tests\\Feature\\Payments\\StripeCheckoutTest": 1.608, "Tests\\Feature\\Reports\\SalesReportTest": 2.105, "Tests\\Unit\\Models\\UserTest": 0.050 }, "checksum": "...", "updated_at": "2026-04-14T10:30:00+00:00" } ``` **Step 3:** When you run `--shard` and `tests/.pest/shards.json` exists, Pest automatically uses time-balanced distribution: ```bash ./vendor/bin/pest --shard=1/5 ``` The output will indicate that time-balanced sharding is active: ``` Shard: 1 of 5 — 12 files ran, out of 50 (time-balanced). ``` ### [`v4.5.0`](https://github.com/pestphp/pest/releases/tag/v4.5.0) [Compare Source](https://github.com/pestphp/pest/compare/v4.4.6...v4.5.0) Announcement: **[x.com/enunomaduro/status/2042697927483609449](https://x.com/enunomaduro/status/2042697927483609449?s=20)** - feat: `flaky` and `--flaky` by [@&#8203;nunomaduro](https://github.com/nunomaduro) - feat: `toBeCasedCorrectly` arch test assertion by [@&#8203;SimonBroekaert](https://github.com/SimonBroekaert) and [@&#8203;nunomaduro](https://github.com/nunomaduro) in [#&#8203;1455](https://github.com/pestphp/pest/pull/1455) - feat: add '--only-covered' option to '--coverage' by [@&#8203;SimonBroekaert](https://github.com/SimonBroekaert) in [#&#8203;1626](https://github.com/pestphp/pest/pull/1626) - fix: typo in `Pest.php` in stubs by [@&#8203;orphanedrecord](https://github.com/orphanedrecord) in [#&#8203;1653](https://github.com/pestphp/pest/pull/1653) - fix: `toUseTrait` to detect inherited and nested traits by [@&#8203;yondifon](https://github.com/yondifon) in [#&#8203;1515](https://github.com/pestphp/pest/pull/1515) - fix: missing classes before `toExtend` on `laravel` preset by [@&#8203;treyssatvincent](https://github.com/treyssatvincent) in [#&#8203;1569](https://github.com/pestphp/pest/pull/1569) - fix: add "Rules" to `laravel` preset by [@&#8203;bibrokhim](https://github.com/bibrokhim) in [#&#8203;1580](https://github.com/pestphp/pest/pull/1580) - fix: enhance support for `--parallel` and `--teamcity` arguments by restoring `--teamcity` for ParaTest and fixing teamcity output concurrency by [@&#8203;smirok](https://github.com/smirok) in [#&#8203;1615](https://github.com/pestphp/pest/pull/1615) - fix: nested dataset discovery and parallel invalid-dataset reporting by [@&#8203;stsepelin](https://github.com/stsepelin) in [#&#8203;1655](https://github.com/pestphp/pest/pull/1655) - fix: preserve unicode characters in filenames for `--filter` matching by [@&#8203;Vmadmax](https://github.com/Vmadmax) in [#&#8203;1624](https://github.com/pestphp/pest/pull/1624) - fix: dataset named parameters by [@&#8203;dbpolito](https://github.com/dbpolito) in [#&#8203;1634](https://github.com/pestphp/pest/pull/1634) - fix: parameter closure this type annotations in functions by [@&#8203;DevDavido](https://github.com/DevDavido) in [#&#8203;1628](https://github.com/pestphp/pest/pull/1628) - fix: dataset inheritance with method chaining (beforeEach()->with(), describe()->with()) by [@&#8203;louisbels](https://github.com/louisbels) in [#&#8203;1565](https://github.com/pestphp/pest/pull/1565) ### [`v4.4.6`](https://github.com/pestphp/pest/releases/tag/v4.4.6) [Compare Source](https://github.com/pestphp/pest/compare/v4.4.5...v4.4.6) - chore: stores statically the test result for `pao` </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDkuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjQuNSIsInRhcmdldEJyYW5jaCI6InRydW5rIiwibGFiZWxzIjpbIjBUeXBlL0RlcGVuZGVuY2llcyIsIjFEZXBlbmRlbmN5L0NvbXBvc2VyIiwiMkRlcGVuZGVuY3ktSW1wYWN0L01ham9yIl19-->
Update dependency pestphp/pest to v5
Some checks failed
renovate/artifacts Artifact file update failure
36faf821bc
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update pestphp/pest:5.0.1 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Dependency nunomaduro/collision is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency phpunit/phpunit is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires pestphp/pest ^5.0, found pestphp/pest[v5.0.0, v5.0.1] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - pestphp/pest-plugin-laravel is locked to version v4.1.0 and an update of this package was not requested.
    - pestphp/pest-plugin-laravel v4.1.0 requires pestphp/pest ^4.4.1 -> found pestphp/pest[v4.4.1, ..., v4.7.5] but it conflicts with your root composer.json require (^5.0).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: composer.lock ``` Command failed: composer update pestphp/pest:5.0.1 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes Loading composer repositories with package information Dependency nunomaduro/collision is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies. Dependency phpunit/phpunit is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies. Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires pestphp/pest ^5.0, found pestphp/pest[v5.0.0, v5.0.1] but these were not loaded, likely because it conflicts with another require. Problem 2 - pestphp/pest-plugin-laravel is locked to version v4.1.0 and an update of this package was not requested. - pestphp/pest-plugin-laravel v4.1.0 requires pestphp/pest ^4.4.1 -> found pestphp/pest[v4.4.1, ..., v4.7.5] but it conflicts with your root composer.json require (^5.0). Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. ```
Some checks failed
renovate/artifacts Artifact file update failure
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/pestphp-pest-5.x:renovate/pestphp-pest-5.x
git switch renovate/pestphp-pest-5.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch trunk
git merge --no-ff renovate/pestphp-pest-5.x
git switch renovate/pestphp-pest-5.x
git rebase trunk
git switch trunk
git merge --ff-only renovate/pestphp-pest-5.x
git switch renovate/pestphp-pest-5.x
git rebase trunk
git switch trunk
git merge --no-ff renovate/pestphp-pest-5.x
git switch trunk
git merge --squash renovate/pestphp-pest-5.x
git switch trunk
git merge --ff-only renovate/pestphp-pest-5.x
git switch trunk
git merge renovate/pestphp-pest-5.x
git push origin trunk
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
l4p1n-bot/website!113
No description provided.