Skip to content

build(deps-dev): bump phpunit/phpunit from 9.5.28 to 13.1.14#364

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/phpunit/phpunit-13.1.14
Closed

build(deps-dev): bump phpunit/phpunit from 9.5.28 to 13.1.14#364
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/phpunit/phpunit-13.1.14

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 11, 2026

Copy link
Copy Markdown
Contributor

Bumps phpunit/phpunit from 9.5.28 to 13.1.14.

Release notes

Sourced from phpunit/phpunit's releases.

PHPUnit 13.1.14

Fixed

  • #6683: assertNotEquals() failure message says "is equal to" instead of "is not equal to" when comparing arrays or objects
  • #6700: expectOutputString() and expectOutputRegex() silently replace themselves and each other

Learn how to install or update PHPUnit 13.1 in the documentation.

Keep up to date with PHPUnit:

PHPUnit 13.1.13

Fixed

  • #6681: XML assertions such as assertXmlStringEqualsXmlString() regressed into treating comments as significant

Learn how to install or update PHPUnit 13.1 in the documentation.

Keep up to date with PHPUnit:

PHPUnit 13.1.12

Fixed

  • #6673: Empty PHP settings from the parent process override per-test -d settings forwarded to child processes (breaks PCOV coverage)

Learn how to install or update PHPUnit 13.1 in the documentation.

Keep up to date with PHPUnit:

PHPUnit 13.1.11

Fixed

  • PHP setting values containing = need to be quoted before forwarding via -d

... (truncated)

Changelog

Sourced from phpunit/phpunit's changelog.

[13.1.14] - 2026-06-04

Fixed

  • #6683: assertNotEquals() failure message says "is equal to" instead of "is not equal to" when comparing arrays or objects
  • #6700: expectOutputString() and expectOutputRegex() silently replace themselves and each other

[13.1.13] - 2026-05-27

Fixed

  • #6681: XML assertions such as assertXmlStringEqualsXmlString() regressed into treating comments as significant

[13.1.12] - 2026-05-25

Fixed

  • #6673: Empty PHP settings from the parent process override per-test -d settings forwarded to child processes (breaks PCOV coverage)

[13.1.11] - 2026-05-21

Fixed

  • PHP setting values containing = need to be quoted before forwarding via -d

[13.1.10] - 2026-05-15

Changed

  • Pass configuration options introduced in sebastian/diff 8.3.0

[13.1.9] - 2026-05-13

Changed

  • A Test or Tests prefix is no longer stripped from class names when they are processed for TestDox output

Fixed

  • #6605: Data set names and provider values containing Unicode bidirectional control characters distort terminal output
  • #6610: Per-testsuite bootstrap script not loaded in process isolation
  • TestDox output collapsed separate test classes into a single group when their prettified class names matched

[13.1.8] - 2026-05-01

Fixed

  • #6595: Crash when before-class or after-class method fails with assertion failure
  • #6599: TeamCity logger does not wrap failures in before-test methods with testStarted and testFinished
  • #6601: Anonymous classes are not rejected with a clear error when creating a test double

... (truncated)

Commits
  • cdd419c Prepare release
  • 2c570f4 Merge branch '12.5' into 13.1
  • 9aa66a4 Prepare release
  • 29f13eb Merge branch '12.5' into 13.1
  • 7c08bf0 Fix
  • e691ff5 Merge branch '12.5' into 13.1
  • bebab12 Emit a warning when more than one output expectation is configured
  • 27d1a78 Update github-actions
  • 4b038da Update github-actions to v6.0.3
  • 1764c3d Update cbrgm/mastodon-github-action action to v2.2.1
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Jun 11, 2026
@dependabot dependabot Bot requested a review from lolgab as a code owner June 11, 2026 07:32
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Jun 11, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 duplication

Metric Results
Duplication 0

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.xml configuration 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

Comment thread composer.json
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"phpunit/phpunit": "^13.1",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 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.

@dependabot @github

dependabot Bot commented on behalf of github Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #365.

@dependabot dependabot Bot closed this Jun 12, 2026
@dependabot dependabot Bot deleted the dependabot/composer/phpunit/phpunit-13.1.14 branch June 12, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants