build(deps-dev): bump phpunit/phpunit from 9.5.28 to 13.2.1#370
build(deps-dev): bump phpunit/phpunit from 9.5.28 to 13.2.1#370dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.28 to 13.2.1. - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/13.2.1/ChangeLog-13.2.md) - [Commits](sebastianbergmann/phpunit@9.5.28...13.2.1) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-version: 13.2.1 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
The PR updates phpunit/phpunit from version 9.5.28 to 13.2.1. This is a significant major version jump that introduces substantial breaking changes, including the migration from DocBlock annotations to PHP Attributes and a completely overhauled configuration schema. While the dependency constraints are updated in composer.json, there are no accompanying updates to the test files or the phpunit.xml configuration. Consequently, the test suite is highly likely to fail in its current state. It is recommended to perform the migration using PHPUnit's automated migration tools for both the test code and the configuration file before merging.
About this PR
- The jump across several major versions of PHPUnit involves breaking changes that are not backwards compatible. Specifically, PHPUnit 10+ removed support for many DocBlock annotations in favor of PHP Attributes and introduced a new XML configuration schema. Without these updates, the CI pipeline and local test runs will likely fail. Please ensure the migration tool (
phpunit --migrate-configuration) is run and that test metadata is updated.
Test suggestions
- Verify that existing tests are compatible with PHPUnit 13 (handling breaking changes in Mock Objects and Metadata)
- Verify that
phpunit.xmlconfiguration is migrated to the format required by version 13
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that existing tests are compatible with PHPUnit 13 (handling breaking changes in Mock Objects and Metadata)
2. Verify that `phpunit.xml` configuration is migrated to the format required by version 13
TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback
Bumps phpunit/phpunit from 9.5.28 to 13.2.1.
Release notes
Sourced from phpunit/phpunit's releases.
... (truncated)
Changelog
Sourced from phpunit/phpunit's changelog.
... (truncated)
Commits
60da0ffPrepare releasea625c2aMerge branch '12.5' into 13.2900400aPrepare release4b16590Fix CS/WS issues073298cCloses #67449147606Merge branch '12.5' into 13.2cbabf21Update ChangeLogd651dabImprove error message for invalid version constraint in attribute059594dAdd test showing current behaviour8330ffaCloses #6741Dependabot 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)