Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 1, 2025

Note

Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to mend[bot].

This notice will be removed on 2025-10-07.


This PR contains the following updates:

Package Change Age Confidence
phpunit/phpunit (source) 11.5.6 -> 11.5.42 age confidence

Release Notes

sebastianbergmann/phpunit (phpunit/phpunit)

v11.5.42: PHPUnit 11.5.42

Compare Source

Fixed
  • #​6368: failOnPhpunitWarning="false" has no effect

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

Keep up to date with PHPUnit:

v11.5.41: PHPUnit 11.5.41

Compare Source

  • No changes; phpunit.phar rebuilt with updated dependencies

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

Keep up to date with PHPUnit:

v11.5.40: PHPUnit 11.5.40

Compare Source

  • No changes; phpunit.phar rebuilt with updated dependencies

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

Keep up to date with PHPUnit:

v11.5.39: PHPUnit 11.5.39

Compare Source

Changed
  • #​6366: Exclude __sleep() and __wakeup() from test double code generation on PHP >= 8.5

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

Keep up to date with PHPUnit:

v11.5.38: PHPUnit 11.5.38

Compare Source

Changed
  • #​6353: Disable performance optimization for tests requiring Xdebug

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

Keep up to date with PHPUnit:

v11.5.37: PHPUnit 11.5.37

Compare Source

Changed
  • Do not use __sleep() method (which will be deprecated in PHP 8.5)

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

Keep up to date with PHPUnit:

v11.5.36: PHPUnit 11.5.36

Compare Source

Fixed
  • #​6340: Implicitly enabled display of deprecation details is not disabled when it should be

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

Keep up to date with PHPUnit:

v11.5.35: PHPUnit 11.5.35

Compare Source

Changed
  • #[IgnorePhpunitDeprecations] is now considered for test runner deprecations (where applicable)

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

Keep up to date with PHPUnit:

v11.5.34

Compare Source

v11.5.33: PHPUnit 11.5.33

Compare Source

Changed
  • #​6321: Allow error_reporting=E_ALL for --check-php-configuration
Fixed
  • #​5863: TestDox printer does not show previous exception
  • #​6102: expectUserDeprecationMessage*() fails when test is run in separate process

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

Keep up to date with PHPUnit:

v11.5.32: PHPUnit 11.5.32

Compare Source

Changed
  • #​6308: Improve output of --check-php-configuration
  • The version number for the test result cache file has been incremented to reflect that its structure for PHPUnit 11.5 is not compatible with its structure for PHPUnit 8.5 and PHPUnit 9.6
Fixed
  • #​6281: Exceptions raised in after-test method are not reported for skipped tests

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

Keep up to date with PHPUnit:

v11.5.31: PHPUnit 11.5.31

Compare Source

Fixed
  • #​6304: PHPUnit 11.5.29 hangs when a test runner deprecation is triggered and process isolation is used (this reverts "#[IgnorePhpunitDeprecations] is now considered for test runner deprecations" from PHPUnit 11.5.29)

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

Keep up to date with PHPUnit:

v11.5.30: PHPUnit 11.5.30

Compare Source

Changed
  • #​6300: Emit warning when the name of a data provider method begins with test
  • Do not use SplObjectStorage methods that will be deprecated in PHP 8.5

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

Keep up to date with PHPUnit:

v11.5.29: PHPUnit 11.5.29

Compare Source

Added
  • #​6297: --check-php-configuration CLI option for checking whether PHP is configured for testing
Changed
  • #[IgnorePhpunitDeprecations] is now considered for test runner deprecations (where applicable)
Fixed
  • #​6160: Baseline file in a subdirectory contains absolute paths
  • Errors due to invalid data provided using #[TestWith] or #[TestWithJson] attributes are now properly reported
  • The DataProviderMethodFinished event is now also emitted when the provided data set has an invalid key

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

Keep up to date with PHPUnit:

v11.5.28: PHPUnit 11.5.28

Compare Source

Fixed
  • #​6097: The file attribute of <testClass> node of XML test list can be wrong

How to install or update PHPUnit

v11.5.27: PHPUnit 11.5.27

Compare Source

Fixed
  • #​6254: defects,randomconfiguration is supported by implementation, but it is not allowed by the XML configuration file schema
  • #​6259: Order of tests which use data from data providers is not affected by test sorting
  • #​6266: Superfluous whitespace in TestDox output when test method name has a number after the test prefix

How to install or update PHPUnit

v11.5.26: PHPUnit 11.5.26

Compare Source

Fixed
  • #​6104: Test with dependencies and data provider fails
  • #​6163: @no-named-arguments leads to static analysis errors for variadic arguments

How to install or update PHPUnit

v11.5.25: PHPUnit 11.5.25

Compare Source

Fixed
  • #​6249: No meaningful error when <testsuite> element is missing required name attribute

How to install or update PHPUnit

v11.5.24: PHPUnit 11.5.24

Compare Source

Added
  • #​6236: failOnPhpunitWarning attribute on the <phpunit> element of the XML configuration file and --fail-on-phpunit-warning CLI option for controlling whether PHPUnit should fail on PHPUnit warnings (default: true)
  • #​6239: --do-not-fail-on-deprecation, --do-not-fail-on-phpunit-warning, --do-not-fail-on-phpunit-deprecation, --do-not-fail-on-empty-test-suite, --do-not-fail-on-incomplete, --do-not-fail-on-notice, --do-not-fail-on-risky, --do-not-fail-on-skipped, and --do-not-fail-on-warning CLI options
  • --do-not-report-useless-tests CLI option as a replacement for --dont-report-useless-tests
Deprecated
  • --dont-report-useless-tests CLI option (use --do-not-report-useless-tests instead)
Fixed
  • #​6243: Constraints cannot be implemented without using internal class ExpectationFailedException

How to install or update PHPUnit

v11.5.23: PHPUnit 11.5.23

Compare Source

Fixed
  • #​6222: Data Provider seems to mess up Test Dependencies
  • shortenArraysForExportThreshold XML configuration setting has no effect on all arrays exported for event-related value objects

How to install or update PHPUnit

v11.5.22: PHPUnit 11.5.22

Compare Source

Changed
  • Do not treat warnings differently than other issues in summary section of default output

How to install or update PHPUnit

v11.5.21: PHPUnit 11.5.21

Compare Source

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

v11.5.20: PHPUnit 11.5.20

Compare Source

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

How to install or update PHPUnit

v11.5.19: PHPUnit 11.5.19

Compare Source

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

v11.5.18: PHPUnit 11.5.18

Compare Source

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
  • 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

v11.5.17: PHPUnit 11.5.17

Compare Source

Fixed
  • #​6104: Reverted change introduced in PHPUnit 11.5.16

How to install or update PHPUnit

v11.5.16: PHPUnit 11.5.16

Compare Source

Fixed
  • #​6104: Test with dependencies and data provider fails
  • #​6174: willReturnMap() fails with nullable parameters when their default is null and no argument is passed for them

How to install or update PHPUnit

v11.5.15: PHPUnit 11.5.15

Compare Source

Changed
  • #​6150: Reverted change introduced in PHPUnit 11.5.13

How to install or update PHPUnit

v11.5.14: PHPUnit 11.5.14

Compare Source

Changed
  • Updated dependencies for PHAR distribution

How to install or update PHPUnit

v11.5.13: PHPUnit 11.5.13

Compare Source

Changed
  • #​6150: Trigger warning when code coverage analysis is performed and no cache directory is configured

How to install or update PHPUnit

v11.5.12: PHPUnit 11.5.12

Compare Source

Fixed
  • #​5976: TestDox result printer does not display details about errors triggered in before-first-test and after-last-test methods

How to install or update PHPUnit

v11.5.11: PHPUnit 11.5.11

Compare Source

Fixed
  • #​6142: $expected and $actual are mixed up in failure description when assertJsonFileEqualsJsonFile() fails

How to install or update PHPUnit

v11.5.10: PHPUnit 11.5.10

Compare Source

Fixed
  • #​6138: Test with failed expectation on value passed to mocked method is incorrectly considered risky

How to install or update PHPUnit

v11.5.9: PHPUnit 11.5.9

Compare Source

Fixed
  • #​6134: Missing event when child process ends unexpectedly

How to install or update PHPUnit

v11.5.8: PHPUnit 11.5.8

Compare Source

Fixed
  • A Test\PreparationFailed event is now emitted in addition to a Test\Errored event when an unexpected exception is triggered in a before-test method
  • A Test\Passed event is no longer emitted in addition to a Test\Failed or Test\Errored event when an assertion failure or an unexpected exception is triggered in an after-test method
  • A TestSuite\Finished event is now emitted when a before-first-test method errors

How to install or update PHPUnit

v11.5.7: PHPUnit 11.5.7

Compare Source

Changed
  • #​5951: The includeUncoveredFiles configuration option is no longer deprecated
  • #​6117: Include source location information for issues triggered during test in --debug output
  • #​6119: Improve message for errors that occur while parsing attributes
  • #​6120: Allow negative priorities for hook methods

How to install or update PHPUnit


Configuration

📅 Schedule: Branch creation - "on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Oct 1, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants