Skip to content

Update dependency phpunit/phpunit to ^13.1.10 (main)#1162

Merged
sebastianbergmann merged 1 commit into
mainfrom
renovate/main-phpunit-phpunit-13.x
May 16, 2026
Merged

Update dependency phpunit/phpunit to ^13.1.10 (main)#1162
sebastianbergmann merged 1 commit into
mainfrom
renovate/main-phpunit-phpunit-13.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 16, 2026

This PR contains the following updates:

Package Change Age Confidence
phpunit/phpunit (source) ^13.1^13.1.10 age confidence

Release Notes

sebastianbergmann/phpunit (phpunit/phpunit)

v13.1.10: PHPUnit 13.1.10

Compare Source

Changed
  • Pass configuration options introduced in sebastian/diff 8.3.0

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

Keep up to date with PHPUnit:

v13.1.9: PHPUnit 13.1.9

Compare Source

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

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

Keep up to date with PHPUnit:

v13.1.8: PHPUnit 13.1.8

Compare Source

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
  • #​6603: assertArrays*IgnoringOrder() fails on mixed scalar types and on reordered nested associative arrays
  • MockBuilder::setMockClassName() and TestStubBuilder::setStubClassName() now reject values that are not valid unqualified PHP class identifiers, throwing the new InvalidClassNameException
  • The regular expression used by Generator::ensureValidMethods() to validate method names passed to MockBuilder::onlyMethods() and addMethods() was not anchored, so any string containing a valid identifier substring (including strings with parentheses, braces, comments, or newlines) was accepted

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

Keep up to date with PHPUnit:

v13.1.7: PHPUnit 13.1.7

Compare Source

Changed
  • Pass LIBXML_NONET when parsing/validating XML configuration files to make explicit that no network I/O is performed
  • Verify the result file written by an isolated child process with a random nonce before deserializing it

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

Keep up to date with PHPUnit:

v13.1.6: PHPUnit 13.1.6

Compare Source

Fixed
  • #​6590: Silent failure when configuration file is invalid
  • #​6592: INI metacharacters ; and " are not preserved when forwarding settings to child processes

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

Keep up to date with PHPUnit:

v13.1.5: PHPUnit 13.1.5

Compare Source

Fixed
  • #​5860: PHP CLI -d settings are not forwarded to child processes for process isolation
  • #​6451: Incomplete version in RequiresPhp (e.g. <=8.5) is compared against full PHP version, causing unexpected skips
  • #​6589: dataSetAsStringWithData() raises "float is not representable as int" warning for large floats in data sets

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

Keep up to date with PHPUnit:

v13.1.4: PHPUnit 13.1.4

Compare Source

Fixed
  • #​5993: DefaultJobRunner deadlocks on child processes that write large amounts of stderr output
  • #​6465: SAPI-populated $_SERVER entries leak from parent into child process
  • #​6587: failOnEmptyTestSuite="false" in phpunit.xml is ignored when --group/--filter/--testsuite matches no tests
  • #​6588: Order of issue baseline entries is not canonicalized

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

Keep up to date with PHPUnit:

v13.1.3: PHPUnit 13.1.3

Compare Source

Fixed
  • Regression in XML configuration migration introduced in PHPUnit 12.5.8

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

Keep up to date with PHPUnit:

v13.1.2: PHPUnit 13.1.2

Compare Source

Fixed
  • #​4571: No warning when --random-order-seed is used when test execution order is not random
  • #​4975: --filter does not work when filter string starts with #
  • #​5354: JUnit XML logger does not handle TestSuiteSkipped event
  • #​6276: Exit with non-zero exit code when explicit test selection (--filter, --group, --testsuite) yields no tests
  • #​6583: Failing output expectation skips tearDown() and handler restoration, causing subsequent tests to be marked as risky

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

Keep up to date with PHPUnit:

v13.1.1: PHPUnit 13.1.1

Compare Source

Changed
  • #​3676: Include class/interface name in mock object expectation failure messages
  • #​4793: Exit with non-zero exit code when exit was called from some test
Fixed
  • #​5881: colors="true" in XML configuration file does not unconditionally enable colored output
  • #​6019: --migrate-configuration does not update schema location when XML content already validates against current schema
  • #​6372: Assertion failure inside willReturnCallback() is silently swallowed when code under test catches exceptions
  • #​6464: Process isolation template unconditionally calls set_include_path()
  • #​6571: Static analysis errors for TestDoubleBuilder method chaining

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

Keep up to date with PHPUnit:

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.39%. Comparing base (74c08c6) to head (d7435d4).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1162   +/-   ##
=========================================
  Coverage     82.39%   82.39%           
  Complexity     1577     1577           
=========================================
  Files           114      114           
  Lines          5338     5338           
=========================================
  Hits           4398     4398           
  Misses          940      940           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sebastianbergmann sebastianbergmann merged commit 7b92351 into main May 16, 2026
31 checks passed
@renovate renovate Bot deleted the renovate/main-phpunit-phpunit-13.x branch May 16, 2026 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant