build(deps-dev): bump phpunit/phpunit from 9.5.28 to 13.2.0#365
build(deps-dev): bump phpunit/phpunit from 9.5.28 to 13.2.0#365dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.28 to 13.2.0. - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/13.2.0/ChangeLog-13.2.md) - [Commits](sebastianbergmann/phpunit@9.5.28...13.2.0) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-version: 13.2.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Duplication | 0 |
AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.
TIP This summary will be updated as you push new changes.
There was a problem hiding this comment.
Pull Request Overview
This PR attempts a major version upgrade for PHPUnit from version 9 to 13. This transition spans four major versions and introduces significant breaking changes that are not addressed in this PR. Specifically, PHPUnit 10+ requires a new configuration schema for phpunit.xml and has removed several widely used APIs (such as withConsecutive() and expectError()).
The current implementation only updates the dependency version in composer.json and composer.lock. Without corresponding configuration migrations and test suite refactoring, the build is expected to fail. This update should be treated as a major migration rather than a simple dependency bump.
About this PR
- The PR performs a major version jump from PHPUnit 9 to 13 without corresponding changes to the test suite or configuration files. PHPUnit 10+ introduced a completely new event system and removed many features (like listeners and certain assertions) that were standard in v9. Upgrading across these versions requires a coordinated update of the test environment and codebase.
Test suggestions
- Execute existing test suite with PHPUnit 13 to verify compatibility
- Migrate and validate the
phpunit.xmlconfiguration file to the PHPUnit 10+ schema
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Execute existing test suite with PHPUnit 13 to verify compatibility
2. Migrate and validate the `phpunit.xml` configuration file to the PHPUnit 10+ schema
TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback
| }, | ||
| "require-dev": { | ||
| "phpunit/phpunit": "^9.0", | ||
| "phpunit/phpunit": "^13.2", |
There was a problem hiding this comment.
🔴 HIGH RISK
Upgrading across four major versions (9 to 13) is a major migration that will likely break the build. You must update your phpunit.xml schema by running vendor/bin/phpunit --migrate-configuration. Additionally, you must refactor your test suite to address the removal of common APIs like withConsecutive(), expectError(), and the transition to the new event-driven system. Ensure your environment supports the PHP version requirements introduced in these later PHPUnit releases.
Bumps phpunit/phpunit from 9.5.28 to 13.2.0.
Release notes
Sourced from phpunit/phpunit's releases.
... (truncated)
Changelog
Sourced from phpunit/phpunit's changelog.
... (truncated)
Commits
3796ea9Prepare release70a2e77Update github-actions to v1.0.15ea3bfcMerge branch '12.5' into 13.29970ce9Merge branch '11.5' into 12.59e9c2c6Fix errors reported by PHPStan16d3906Merge branch '10.5' into 11.5df54837Merge branch '9.6' into 10.549c244fMerge branch '8.5' into 9.67a0d52cUpdate tools0a3e9b1Update dependenciesDependabot 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)