Skip to content

Bump phpunit/phpunit from 11.5.20 to 12.1.6 #299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 21, 2025

Bumps phpunit/phpunit from 11.5.20 to 12.1.6.

Release notes

Sourced from phpunit/phpunit's releases.

PHPUnit 12.1.6

Changed

  • #6210: Set default Clover coverage project name
  • #6217: Improve the error message when createStubForIntersectionOfInterfaces() is called with a class

How to install or update PHPUnit

PHPUnit 12.1.5

Fixed

  • #6192: Reverted change made in PHPUnit 11.5.19 due to regression
  • #6199: assertEmpty() and assertNotEmpty() use overly restrictive phpstan-assert empty directives

How to install or update PHPUnit

PHPUnit 12.1.4

Added

  • displayDetailsOnAllIssues attribute on the <phpunit> element of the XML configuration file and --display-all-issues CLI option for controlling whether PHPUnit should display details on all issues that are triggered (default: false)
  • failOnAllIssues attribute on the <phpunit> element of the XML configuration file and --fail-on-all-issues CLI option for controlling whether PHPUnit should fail on all issues that are triggered (default: false)

Changed

  • #5956: Improved handling of deprecated E_STRICT constant

Fixed

  • #6192: Positive %a and %A matches are not ignored from diff when EXPECTF fails

How to install or update PHPUnit

PHPUnit 12.1.3

Changed

  • When gathering the telemetry information that each event has, the real size of memory allocated from the operating system is no longer used as this is grown by PHP's memory manager in chunks that are so large that small(er) increases in peak memory usage cannot be seen
  • The peak memory usage returned by memory_get_peak_usage() is now reset immediately before the Test\Prepared event is emitted using memory_reset_peak_usage() so that (memory usage at Test\Finished - memory usage at Test\Prepared) is a better approximation of the memory usage of the test
  • The string representation of Telemetry\Info now uses peak memory usage instead of memory usage (this affects --log-events-verbose-text)

Fixed

  • #6173: Output from error_log() is not displayed when test fails
  • A "Before Test Method Errored" event is no longer emitted when a test is skipped in a "before test" method

How to install or update PHPUnit

PHPUnit 12.1.2

Fixed

  • #6104: Reverted change introduced in PHPUnit 12.1.1

... (truncated)

Changelog

Sourced from phpunit/phpunit's changelog.

[12.1.6] - 2025-05-21

Changed

  • #6210: Set default Clover coverage project name
  • #6217: Improve the error message when createStubForIntersectionOfInterfaces() is called with a class

[12.1.5] - 2025-05-11

Fixed

  • #6192: Reverted change made in PHPUnit 11.5.19 due to regression
  • #6199: assertEmpty() and assertNotEmpty() use overly restrictive phpstan-assert empty directives

[12.1.4] - 2025-05-02

Added

  • displayDetailsOnAllIssues attribute on the <phpunit> element of the XML configuration file and --display-all-issues CLI option for controlling whether PHPUnit should display details on all issues that are triggered (default: false)
  • failOnAllIssues attribute on the <phpunit> element of the XML configuration file and --fail-on-all-issues CLI option for controlling whether PHPUnit should fail on all issues that are triggered (default: false)

Changed

  • #5956: Improved handling of deprecated E_STRICT constant

Fixed

  • #6192: Positive %a and %A matches are not ignored from diff when EXPECTF fails

[12.1.3] - 2025-04-22

Changed

  • When gathering the telemetry information that each event has, the real size of memory allocated from the operating system is no longer used as this is grown by PHP's memory manager in chunks that are so large that small(er) increases in peak memory usage cannot be seen
  • The peak memory usage returned by memory_get_peak_usage() is now reset immediately before the Test\Prepared event is emitted using memory_reset_peak_usage() so that (memory usage at Test\Finished - memory usage at Test\Prepared) is a better approximation of the memory usage of the test
  • The string representation of Telemetry\Info now uses peak memory usage instead of memory usage (this affects --log-events-verbose-text)

Fixed

  • #6173: Output from error_log() is not displayed when test fails
  • A "Before Test Method Errored" event is no longer emitted when a test is skipped in a "before test" method

[12.1.2] - 2025-04-08

Fixed

  • #6104: Reverted change introduced in PHPUnit 12.1.1

[12.1.1] - 2025-04-08

... (truncated)

Commits
  • 2fdf005 Prepare release
  • 60972f8 Merge branch '11.5' into 12.1
  • d565e2c Prepare release
  • baf1f91 Merge branch '11.5' into 12.1
  • 9453f37 Update dependencies
  • f178012 Merge branch '11.5' into 12.1
  • 733c084 Update ChangeLog
  • 9a5b3e7 Improve the error message when createStubForIntersectionOfInterfaces is cal...
  • d8a720d Add test showing current behaviour when `createStubForIntersectionOfInterface...
  • 4f33a59 Merge branch '11.5' into 12.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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 11.5.20 to 12.1.6.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/12.1.6/ChangeLog-12.1.md)
- [Commits](sebastianbergmann/phpunit@11.5.20...12.1.6)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 12.1.6
  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 May 21, 2025
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