Update dependency phpunit/phpunit to v12 #81

Open
renovate-bot wants to merge 1 commits from renovate/phpunit-phpunit-12.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
phpunit/phpunit (source) require-dev major ^11.0.1 -> ^12.0.0

Important

Release Notes retrieval for this PR were skipped because no github.com credentials were available.
If you are self-hosted, please see this instruction.


Configuration

📅 Schedule: 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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [phpunit/phpunit](https://phpunit.de/) ([source](https://github.com/sebastianbergmann/phpunit)) | require-dev | major | `^11.0.1` -> `^12.0.0` | > :exclamation: **Important** > > Release Notes retrieval for this PR were skipped because no github.com credentials were available. > If you are self-hosted, please see [this instruction](https://github.com/renovatebot/renovate/blob/master/docs/usage/examples/self-hosting.md#githubcom-token-for-release-notes). --- ### Configuration 📅 **Schedule**: 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 [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xOS43IiwidXBkYXRlZEluVmVyIjoiNDIuMTkuNyIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
renovate-bot added 1 commit 2025-12-07 00:00:58 +00:00
Update dependency phpunit/phpunit to v12
Some checks failed
renovate/artifacts Artifact file update failure
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 10s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 9s
Gemini PR Review / review (pull_request) Successful in 32s
Laravel Pint / pint (pull_request) Failing after 1m41s
Laravel Larastan / larastan (pull_request) Failing after 1m49s
5f9c1d4c16
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
No tool releases found.
### ⚠️ 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 ``` No tool releases found. ```

📋 Review Summary

This pull request updates the phpunit/phpunit dependency to its new major version 12.0.0. While dependency updates are crucial for security and access to new features, a major version bump necessitates thorough compatibility checks.

🔍 General Feedback

  • It is highly recommended to run the project's test suite and address any failures or warnings that may arise from the PHPUnit 12 upgrade. This ensures forward compatibility and prevents regressions.
--- a/composer.json
+++ b/composer.json
@@ -42,7 +42,7 @@
         "laravel/sail": "^1.26",
         "mockery/mockery": "^1.6",
         "nunomaduro/collision": "^8.1",
-        "phpunit/phpunit": "^11.0.1"
+        "phpunit/phpunit": "^12.0.0"
     },
     "autoload": {
         "psr-4": {

🟡 Medium
Upgrading phpunit/phpunit to a new major version (^12.0.0) often introduces breaking changes. It's important to ensure that all existing tests are compatible with PHPUnit 12 and pass successfully. Any deprecated assertions or methods should be updated to align with the new version's API.

## 📋 Review Summary This pull request updates the `phpunit/phpunit` dependency to its new major version 12.0.0. While dependency updates are crucial for security and access to new features, a major version bump necessitates thorough compatibility checks. ## 🔍 General Feedback - It is highly recommended to run the project's test suite and address any failures or warnings that may arise from the PHPUnit 12 upgrade. This ensures forward compatibility and prevents regressions. ```diff --- a/composer.json +++ b/composer.json @@ -42,7 +42,7 @@ "laravel/sail": "^1.26", "mockery/mockery": "^1.6", "nunomaduro/collision": "^8.1", - "phpunit/phpunit": "^11.0.1" + "phpunit/phpunit": "^12.0.0" }, "autoload": { "psr-4": { ``` **🟡 Medium** Upgrading `phpunit/phpunit` to a new major version (`^12.0.0`) often introduces breaking changes. It's important to ensure that all existing tests are compatible with PHPUnit 12 and pass successfully. Any deprecated assertions or methods should be updated to align with the new version's API.
Some checks failed
renovate/artifacts Artifact file update failure
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 10s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 9s
Gemini PR Review / review (pull_request) Successful in 32s
Laravel Pint / pint (pull_request) Failing after 1m41s
Laravel Larastan / larastan (pull_request) Failing after 1m49s
Checking for merge conflicts…
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/phpunit-phpunit-12.x:renovate/phpunit-phpunit-12.x
git checkout renovate/phpunit-phpunit-12.x
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: poc/pds#81