build(deps-dev): bump phpunit/phpunit from 9.5.28 to 13.2.5 - #380
build(deps-dev): bump phpunit/phpunit from 9.5.28 to 13.2.5#380dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.28 to 13.2.5. - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/13.2.5/ChangeLog-13.2.md) - [Commits](sebastianbergmann/phpunit@9.5.28...13.2.5) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-version: 13.2.5 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 to upgrade phpunit/phpunit from version 9 to 13. This represents a significant leap across multiple major versions, including PHPUnit 10, which introduced a complete rewrite of the internal event system and shifted toward PHP 8 attributes.
While the Codacy analysis indicates the PR is technically 'up to standards' regarding the manifest changes, the update is high-risk because no changes were made to the existing test files. It is highly probable that the current test suite will fail to execute under PHPUnit 13. Furthermore, PHPUnit 13 requires PHP 8.2 or newer; the PR does not confirm if the project's PHP environment meets this requirement. This update should be blocked until the test suite is migrated and environment compatibility is confirmed.
About this PR
- PHPUnit 13 requires PHP 8.2+. Please verify that the project's PHP constraint in composer.json and the CI/CD environment are compatible with this requirement.
- The upgrade from PHPUnit 9 to 13 is a major architectural change. You must migrate existing tests to support the new event system and PHP 8 attributes (replacing docblock annotations like @test). Without these changes, the test suite is unlikely to run.
Test suggestions
- Verify that existing test suites are compatible with PHPUnit 13's breaking changes (e.g., namespace changes, attribute-based metadata, and the new event system).
- Verify that the project's PHP version constraint is compatible with PHPUnit 13 (which requires PHP 8.2 or newer).
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that existing test suites are compatible with PHPUnit 13's breaking changes (e.g., namespace changes, attribute-based metadata, and the new event system).
2. Verify that the project's PHP version constraint is compatible with PHPUnit 13 (which requires PHP 8.2 or newer).
TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback
|
Superseded by #381. |
Bumps phpunit/phpunit from 9.5.28 to 13.2.5.
Release notes
Sourced from phpunit/phpunit's releases.
... (truncated)
Changelog
Sourced from phpunit/phpunit's changelog.
... (truncated)
Commits
2beef9fPrepare release0d72a5cMerge branch '12.5' into 13.2c02591dPrepare releasedaa0672Sync PHP settings655d9bfSync PHP settings87d147aUpdate actions/checkout action to v7.0.14b8b726Update actions/checkout action to v7.0.1f6974c1Merge branch '12.5' into 13.28d9741eMerge branch '11.5' into 12.5d189696Merge branch '10.5' into 11.5Dependabot 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)