build(deps-dev): bump phpunit/phpunit from 9.5.28 to 13.1.14#364
build(deps-dev): bump phpunit/phpunit from 9.5.28 to 13.1.14#364dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.28 to 13.1.14. - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/13.1.14/ChangeLog-13.1.md) - [Commits](sebastianbergmann/phpunit@9.5.28...13.1.14) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-version: 13.1.14 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 of PHPUnit from 9.5.28 to 13.1.14. This transition introduces significant breaking changes that are not addressed in the current diff. Specifically, PHPUnit 10 introduced a total rewrite of the event system and a required XML schema migration for phpunit.xml, while PHPUnit 11+ requires PHP 8.2 or higher.
Since this PR only modifies the dependency version without updating the test suite's configuration or refactoring legacy test cases (e.g., migrating DocBlock annotations to PHP attributes), the test suite is guaranteed to fail in its current state. These architectural gaps must be resolved before this PR can be considered for merging.
About this PR
- The PR performs a major version jump from PHPUnit 9 to 13. PHPUnit 10 introduced massive breaking changes, including a complete rewrite of the event system, the removal of several legacy TestCase methods (like
at()), and the migration of metadata from DocBlock annotations to PHP attributes. The absence of changes to existing test files or configuration files in this PR suggests that the test suite will likely fail upon merging.
Test suggestions
- Verify that all existing tests pass using PHPUnit 13's runner.
- Verify that the
phpunit.xmlconfiguration file is migrated to the schema required for PHPUnit 10 and above.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that all existing tests pass using PHPUnit 13's runner.
2. Verify that the `phpunit.xml` configuration file is migrated to the schema required for PHPUnit 10 and above.
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.1", |
There was a problem hiding this comment.
🔴 HIGH RISK
Bumping PHPUnit from version 9 to 13 introduces significant breaking changes. The phpunit.xml configuration file requires a schema migration for PHPUnit 10+, and the minimum PHP version requirement has increased (PHPUnit 11 requires PHP 8.2+). Without these updates, the test suite will fail. You should update phpunit.xml to the latest schema and verify that the environment meets the new PHP version requirements.
|
Superseded by #365. |
Bumps phpunit/phpunit from 9.5.28 to 13.1.14.
Release notes
Sourced from phpunit/phpunit's releases.
... (truncated)
Changelog
Sourced from phpunit/phpunit's changelog.
... (truncated)
Commits
cdd419cPrepare release2c570f4Merge branch '12.5' into 13.19aa66a4Prepare release29f13ebMerge branch '12.5' into 13.17c08bf0Fixe691ff5Merge branch '12.5' into 13.1bebab12Emit a warning when more than one output expectation is configured27d1a78Update github-actions4b038daUpdate github-actions to v6.0.31764c3dUpdate cbrgm/mastodon-github-action action to v2.2.1Dependabot 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)