Skip to content

chore(deps): update dependency phpunit/phpunit to v13 - autoclosed#2193

Closed
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/major-api-dev-dependencies
Closed

chore(deps): update dependency phpunit/phpunit to v13 - autoclosed#2193
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/major-api-dev-dependencies

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Jun 27, 2025

This PR contains the following updates:

Package Change Age Confidence
phpunit/phpunit (source) ^12.0^13.0 age confidence

Release Notes

sebastianbergmann/phpunit (phpunit/phpunit)

v13.1.7

Compare Source

v13.1.6

Compare Source

v13.1.5

Compare Source

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:

v13.1.0: PHPUnit 13.1.0

Compare Source

Added
  • #​6501: Include unexpected output in Open Test Reporting (OTR) XML logfile
  • #​6517: includeInCodeCoverage attribute for <directory> and <file> children of <source>
  • #​6523: Include #[Group] information in Open Test Reporting (OTR) XML logfile
  • #​6524: Report issues in Open Test Reporting (OTR) XML logfile
  • #​6526: Introduce #[DataProviderClosure] for static closures
  • #​6530: Support for custom issue trigger resolvers that can be configured using <issueTriggerResolvers> in the XML configuration file
  • #​6547: Support for %r...%r in EXPECTF section
  • Support for configuring HTML code coverage report options (colors, thresholds, custom CSS) in XML configuration file without requiring an outputDirectory attribute, allowing the output directory to be specified later with the --coverage-html CLI option
  • Support for configuring dark mode colors, progress bar colors, and breadcrumb colors for HTML code coverage reports in the XML configuration file
Changed
  • #​6557: Improve failure description for StringMatchesFormatDescription constraint which is used by assertFileMatchesFormat(), assertFileMatchesFormatFile(), assertStringMatchesFormat(), assertStringMatchesFormatFile(), and EXPECTF sections of PHPT test files
  • The HTML code coverage report now uses a more colorblind-friendly blue/amber/orange palette by default
  • Extracted PHPUnit\Runner\Extension\Facade from a concrete class to an interface and introduced an internal ExtensionFacade implementation, so that extensions only depend on the Facade interface while PHPUnit internally uses the ExtensionFacade class that also provides query methods
Deprecated
  • #​6515: Deprecate the --log-events-verbose-text <file> CLI option
  • #​6537: Soft-deprecate id() and after() for mock object expectations
Fixed
  • #​6025: FILE_EXTERNAL breaks __DIR__
  • #​6351: No warning when the same test runner extension is configured more than once
  • #​6433: Logic in TestSuiteLoader is brittle and causes "Class FooTest not found" even for valid tests in valid filenames
  • #​6463: Process Isolation fails on non-serializable globals and quietly ignore closures

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

Keep up to date with PHPUnit:

v13.0.6: PHPUnit 13.0.6

Compare Source

Changed
  • #​4440: Improve error when configured code coverage file list is empty
  • #​6549: Allow to stub both hooks of non-virtual properties
Fixed
  • #​6529: Git "detached HEAD state" in Open Test Reporting (OTR) XML logger not handled properly
  • #​6545: Stubbing a class with set property hook leaves property uninitialized by default
  • The RegularExpression and StringMatchesFormatDescription did not handle preg_match() errors such as Compilation failed: regular expression is too large

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

Keep up to date with PHPUnit:

v13.0.5: PHPUnit 13.0.5

Compare Source

Fixed
  • #​6521: Performance regression in PHPUnit 11.5.54, PHPUnit 12.5.13, and PHPUnit 13.0.4

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

Keep up to date with PHPUnit:

v13.0.4: PHPUnit 13.0.4

Compare Source

Fixed
  • #​6489: Classification of self/direct/indirect deprecation triggers is not aligned with Symfony's bridge for PHPUnit

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

Keep up to date with PHPUnit:

v13.0.3: PHPUnit 13.0.3

Compare Source

Fixed
  • #​6511: TestDox variables out of order with named arguments
  • #​6514: <ini /> can silently fail

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

Keep up to date with PHPUnit:

v13.0.2: PHPUnit 13.0.2

Compare Source

Deprecated
  • #​6505: Calling atLeast() with an argument that is not positive
  • #​6507: Support for using with*() without expects()
Fixed
  • #​6503: Temporary file used by SourceMapper may be deleted prematurely when multiple PHPUnit processes run in parallel
  • #​6509: "No expectations were configured for the mock object ..." notice is emitted when with() is used without expects()

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

Keep up to date with PHPUnit:

v13.0.1: PHPUnit 13.0.1

Compare Source

Fixed
  • #​6495: Source map for issue trigger identification is regenerated in process isolation child processes
  • #​6497: method() returns InvocationMocker instead of InvocationStubber for test stubs

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

Keep up to date with PHPUnit:

v13.0.0: PHPUnit 13.0.0

Compare Source

Added
  • #​6450: TestCase::invokeTestMethod() method for customizing test method invocation
  • #​6455: withParameterSetsInOrder() and withParameterSetsInAnyOrder() for expecting calls to the same method of a mock object but with different arguments
  • #​6466: Sealed test doubles
  • #​6468: Configuration option to require sealed mock objects
  • #​6477: assertArraysAreIdentical(), assertArraysAreIdenticalIgnoringOrder(), assertArraysHaveIdenticalValues(), assertArraysHaveIdenticalValuesIgnoringOrder(), assertArraysAreEqual(), assertArraysAreEqualIgnoringOrder(), assertArraysHaveEqualValues(), and assertArraysHaveEqualValuesIgnoringOrder() assertions
  • --test-files-file <file> CLI option to configure a file that contains the paths to the test files to be loaded (one file per line); use this when using CLI arguments is not an option due to argument length limitations
Deprecated
  • #​6461: any() matcher (hard deprecation)
Removed
  • #​6054: Assert::isType()
  • #​6057: assertContainsOnly() and assertNotContainsOnly()
  • #​6061: containsOnly()
  • #​6076: Support for PHP 8.3
  • #​6141: testClassName() method on event value objects for hook methods called for test methods
  • #​6230: Configuration::includeTestSuite() and Configuration::excludeTestSuite()
  • #​6241: --dont-report-useless-tests CLI option
  • #​6247: Support for using #[CoversNothing] on a test method
  • #​6285: #[RunClassInSeparateProcess] attribute
  • #​6356: Support for version constraint string argument without explicit version comparison operator

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

Keep up to date with PHPUnit:

v12.5.23

Compare Source

v12.5.22

Compare Source

v12.5.21

Compare Source

v12.5.20

Compare Source

v12.5.19: PHPUnit 12.5.19

Compare Source

Fixed
  • Regression in XML configuration migration introduced in PHPUnit 12.5.8

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

Keep up to date with PHPUnit:

v12.5.18: PHPUnit 12.5.18

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 12.5 in the documentation.

Keep up to date with PHPUnit:

v12.5.17: PHPUnit 12.5.17

Compare Source

Changed
  • #​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 12.5 in the documentation.

Keep up to date with PHPUnit:

v12.5.16: PHPUnit 12.5.16

Compare Source

Added
  • #​6547: Support for %r...%r in EXPECTF section
Fixed
  • #​6025: FILE_EXTERNAL breaks __DIR__
  • #​6351: No warning when the same test runner extension is configured more than once
  • #​6433: Logic in TestSuiteLoader is brittle and causes "Class FooTest not found" even for valid tests in valid filenames
  • #​6463: Process Isolation fails on non-serializable globals and quietly ignore closures

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

Keep up to date with PHPUnit:

v12.5.15: PHPUnit 12.5.15

Compare Source

Changed
  • #​4440: Improve error when configured code coverage file list is empty
  • #​6549: Allow to stub both hooks of non-virtual properties
Fixed
  • #​6529: Git "detached HEAD state" in Open Test Reporting (OTR) XML logger not handled properly
  • #​6545: Stubbing a class with set property hook leaves property uninitialized by default
  • The RegularExpression and StringMatchesFormatDescription did not handle preg_match() errors such as Compilation failed: regular expression is too large

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

Keep up to date with PHPUnit:

Configuration

📅 Schedule: (in timezone America/Detroit)

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

@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch 3 times, most recently from de3507a to c050939 Compare July 11, 2025 13:02
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch 6 times, most recently from 146f627 to a341b19 Compare August 14, 2025 10:48
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch 2 times, most recently from 712a429 to 28ad402 Compare August 20, 2025 20:14
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch 2 times, most recently from 214100d to 28fb46b Compare September 3, 2025 08:49
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch 4 times, most recently from 459d0ca to 971247a Compare September 15, 2025 23:42
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch 2 times, most recently from 853da77 to a9c3a21 Compare October 28, 2025 01:36
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch from a9c3a21 to 74b06e0 Compare November 21, 2025 15:37
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch from 74b06e0 to 07a0610 Compare December 3, 2025 03:56
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch 6 times, most recently from 97ef7b5 to 8c484ba Compare January 28, 2026 19:33
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch from 8c484ba to a98d69e Compare February 10, 2026 21:29
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch from a98d69e to b36a238 Compare February 18, 2026 19:31
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch 8 times, most recently from fda51fa to 856eb36 Compare March 21, 2026 04:19
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch 3 times, most recently from 8e4eb4d to 9433512 Compare March 24, 2026 22:12
@renovate renovate bot changed the title chore(deps): update api dev dependencies (major) chore(deps): update dependency phpunit/phpunit to v13 Mar 25, 2026
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch 4 times, most recently from c1c651c to c91e8df Compare March 31, 2026 13:11
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch 2 times, most recently from 9a52b60 to 1119d66 Compare April 8, 2026 05:08
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch 7 times, most recently from adf1cf3 to 836ef56 Compare April 17, 2026 13:47
@renovate renovate bot force-pushed the renovate/major-api-dev-dependencies branch from 836ef56 to 3aabafb Compare April 18, 2026 09:43
@renovate renovate bot changed the title chore(deps): update dependency phpunit/phpunit to v13 chore(deps): update dependency phpunit/phpunit to v13 - autoclosed Apr 18, 2026
@renovate renovate bot closed this Apr 18, 2026
@renovate renovate bot deleted the renovate/major-api-dev-dependencies branch April 18, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant