Update dependency phpunit/phpunit to v13 #104

Closed
professeur-chen wants to merge 1 commit from renovate/phpunit-phpunit-13.x into trunk
Collaborator

This PR contains the following updates:

Package Change Age Confidence
phpunit/phpunit (source) ^12.5.12^13.0.0 age confidence

Release Notes

sebastianbergmann/phpunit (phpunit/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.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:

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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [phpunit/phpunit](https://phpunit.de/) ([source](https://github.com/sebastianbergmann/phpunit)) | `^12.5.12` → `^13.0.0` | ![age](https://developer.mend.io/api/mc/badges/age/packagist/phpunit%2fphpunit/13.1.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpunit%2fphpunit/12.5.16/13.1.1?slim=true) | --- ### Release Notes <details> <summary>sebastianbergmann/phpunit (phpunit/phpunit)</summary> ### [`v13.1.1`](https://github.com/sebastianbergmann/phpunit/releases/tag/13.1.1): PHPUnit 13.1.1 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/13.1.0...13.1.1) ##### Changed - [#&#8203;3676](https://github.com/sebastianbergmann/phpunit/issues/3676): Include class/interface name in mock object expectation failure messages - [#&#8203;4793](https://github.com/sebastianbergmann/phpunit/issues/4793): Exit with non-zero exit code when `exit` was called from some test ##### Fixed - [#&#8203;5881](https://github.com/sebastianbergmann/phpunit/issues/5881): `colors="true"` in XML configuration file does not unconditionally enable colored output - [#&#8203;6019](https://github.com/sebastianbergmann/phpunit/issues/6019): `--migrate-configuration` does not update schema location when XML content already validates against current schema - [#&#8203;6372](https://github.com/sebastianbergmann/phpunit/issues/6372): Assertion failure inside `willReturnCallback()` is silently swallowed when code under test catches exceptions - [#&#8203;6464](https://github.com/sebastianbergmann/phpunit/issues/6464): Process isolation template unconditionally calls `set_include_path()` - [#&#8203;6571](https://github.com/sebastianbergmann/phpunit/issues/6571): Static analysis errors for `TestDoubleBuilder` method chaining *** Learn how to install or update PHPUnit 13.1 in the [documentation](https://docs.phpunit.de/en/13.1/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://phpunit.de/newsletter) newsletter to receive updates about and tips for PHPUnit. ### [`v13.1.0`](https://github.com/sebastianbergmann/phpunit/releases/tag/13.1.0): PHPUnit 13.1.0 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/13.0.6...13.1.0) ##### Added - [#&#8203;6501](https://github.com/sebastianbergmann/phpunit/issues/6501): Include unexpected output in Open Test Reporting (OTR) XML logfile - [#&#8203;6517](https://github.com/sebastianbergmann/phpunit/issues/6517): `includeInCodeCoverage` attribute for `<directory>` and `<file>` children of `<source>` - [#&#8203;6523](https://github.com/sebastianbergmann/phpunit/issues/6523): Include `#[Group]` information in Open Test Reporting (OTR) XML logfile - [#&#8203;6524](https://github.com/sebastianbergmann/phpunit/pull/6524): Report issues in Open Test Reporting (OTR) XML logfile - [#&#8203;6526](https://github.com/sebastianbergmann/phpunit/pull/6526): Introduce `#[DataProviderClosure]` for static closures - [#&#8203;6530](https://github.com/sebastianbergmann/phpunit/issues/6530): Support for custom issue trigger resolvers that can be configured using `<issueTriggerResolvers>` in the XML configuration file - [#&#8203;6547](https://github.com/sebastianbergmann/phpunit/pull/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 - [#&#8203;6557](https://github.com/sebastianbergmann/phpunit/pull/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 - [#&#8203;6515](https://github.com/sebastianbergmann/phpunit/issues/6515): Deprecate the `--log-events-verbose-text <file>` CLI option - [#&#8203;6537](https://github.com/sebastianbergmann/phpunit/issues/6537): Soft-deprecate `id()` and `after()` for mock object expectations ##### Fixed - [#&#8203;6025](https://github.com/sebastianbergmann/phpunit/issues/6025): `FILE_EXTERNAL` breaks `__DIR__` - [#&#8203;6351](https://github.com/sebastianbergmann/phpunit/issues/6351): No warning when the same test runner extension is configured more than once - [#&#8203;6433](https://github.com/sebastianbergmann/phpunit/issues/6433): Logic in `TestSuiteLoader` is brittle and causes "Class FooTest not found" even for valid tests in valid filenames - [#&#8203;6463](https://github.com/sebastianbergmann/phpunit/issues/6463): Process Isolation fails on non-serializable globals and quietly ignore closures *** Learn how to install or update PHPUnit 13.1 in the [documentation](https://docs.phpunit.de/en/13.1/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://phpunit.de/newsletter) newsletter to receive updates about and tips for PHPUnit. ### [`v13.0.6`](https://github.com/sebastianbergmann/phpunit/releases/tag/13.0.6): PHPUnit 13.0.6 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/13.0.5...13.0.6) ##### Changed - [#&#8203;4440](https://github.com/sebastianbergmann/phpunit/issues/4440): Improve error when configured code coverage file list is empty - [#&#8203;6549](https://github.com/sebastianbergmann/phpunit/pull/6549): Allow to stub both hooks of non-virtual properties ##### Fixed - [#&#8203;6529](https://github.com/sebastianbergmann/phpunit/pull/6529): Git "detached HEAD state" in Open Test Reporting (OTR) XML logger not handled properly - [#&#8203;6545](https://github.com/sebastianbergmann/phpunit/issues/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](https://docs.phpunit.de/en/13.0/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://phpunit.de/newsletter) newsletter to receive updates about and tips for PHPUnit. ### [`v13.0.5`](https://github.com/sebastianbergmann/phpunit/releases/tag/13.0.5): PHPUnit 13.0.5 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/13.0.4...13.0.5) ##### Fixed - [#&#8203;6521](https://github.com/sebastianbergmann/phpunit/issues/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](https://docs.phpunit.de/en/13.0/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://phpunit.de/newsletter) newsletter to receive updates about and tips for PHPUnit. ### [`v13.0.4`](https://github.com/sebastianbergmann/phpunit/releases/tag/13.0.4): PHPUnit 13.0.4 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/13.0.3...13.0.4) ##### Fixed - [#&#8203;6489](https://github.com/sebastianbergmann/phpunit/pull/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](https://docs.phpunit.de/en/13.0/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://phpunit.de/newsletter) newsletter to receive updates about and tips for PHPUnit. ### [`v13.0.3`](https://github.com/sebastianbergmann/phpunit/releases/tag/13.0.3): PHPUnit 13.0.3 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/13.0.2...13.0.3) ##### Fixed - [#&#8203;6511](https://github.com/sebastianbergmann/phpunit/issues/6511): TestDox variables out of order with named arguments - [#&#8203;6514](https://github.com/sebastianbergmann/phpunit/issues/6514): `<ini />` can silently fail *** Learn how to install or update PHPUnit 13.0 in the [documentation](https://docs.phpunit.de/en/13.0/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://phpunit.de/newsletter) newsletter to receive updates about and tips for PHPUnit. ### [`v13.0.2`](https://github.com/sebastianbergmann/phpunit/releases/tag/13.0.2): PHPUnit 13.0.2 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/13.0.1...13.0.2) ##### Deprecated - [#&#8203;6505](https://github.com/sebastianbergmann/phpunit/issues/6505): Calling `atLeast()` with an argument that is not positive - [#&#8203;6507](https://github.com/sebastianbergmann/phpunit/issues/6507): Support for using `with*()` without `expects()` ##### Fixed - [#&#8203;6503](https://github.com/sebastianbergmann/phpunit/issues/6503): Temporary file used by `SourceMapper` may be deleted prematurely when multiple PHPUnit processes run in parallel - [#&#8203;6509](https://github.com/sebastianbergmann/phpunit/issues/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](https://docs.phpunit.de/en/13.0/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://phpunit.de/newsletter) newsletter to receive updates about and tips for PHPUnit. ### [`v13.0.1`](https://github.com/sebastianbergmann/phpunit/releases/tag/13.0.1): PHPUnit 13.0.1 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/13.0.0...13.0.1) ##### Fixed - [#&#8203;6495](https://github.com/sebastianbergmann/phpunit/pull/6495): Source map for issue trigger identification is regenerated in process isolation child processes - [#&#8203;6497](https://github.com/sebastianbergmann/phpunit/issues/6497): `method()` returns `InvocationMocker` instead of `InvocationStubber` for test stubs *** Learn how to install or update PHPUnit 13.0 in the [documentation](https://docs.phpunit.de/en/13.0/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://phpunit.de/newsletter) newsletter to receive updates about and tips for PHPUnit. ### [`v13.0.0`](https://github.com/sebastianbergmann/phpunit/releases/tag/13.0.0): PHPUnit 13.0.0 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.17...13.0.0) ##### Added - [#&#8203;6450](https://github.com/sebastianbergmann/phpunit/issues/6450): `TestCase::invokeTestMethod()` method for customizing test method invocation - [#&#8203;6455](https://github.com/sebastianbergmann/phpunit/issues/6455): `withParameterSetsInOrder()` and `withParameterSetsInAnyOrder()` for expecting calls to the same method of a mock object but with different arguments - [#&#8203;6466](https://github.com/sebastianbergmann/phpunit/issues/6466): Sealed test doubles - [#&#8203;6468](https://github.com/sebastianbergmann/phpunit/issues/6468): Configuration option to require sealed mock objects - [#&#8203;6477](https://github.com/sebastianbergmann/phpunit/pull/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 - [#&#8203;6461](https://github.com/sebastianbergmann/phpunit/issues/6461): `any()` matcher (hard deprecation) ##### Removed - [#&#8203;6054](https://github.com/sebastianbergmann/phpunit/issues/6054): `Assert::isType()` - [#&#8203;6057](https://github.com/sebastianbergmann/phpunit/issues/6057): `assertContainsOnly()` and `assertNotContainsOnly()` - [#&#8203;6061](https://github.com/sebastianbergmann/phpunit/issues/6061): `containsOnly()` - [#&#8203;6076](https://github.com/sebastianbergmann/phpunit/issues/6076): Support for PHP 8.3 - [#&#8203;6141](https://github.com/sebastianbergmann/phpunit/issues/6141): `testClassName()` method on event value objects for hook methods called for test methods - [#&#8203;6230](https://github.com/sebastianbergmann/phpunit/issues/6230): `Configuration::includeTestSuite()` and `Configuration::excludeTestSuite()` - [#&#8203;6241](https://github.com/sebastianbergmann/phpunit/issues/6241): `--dont-report-useless-tests` CLI option - [#&#8203;6247](https://github.com/sebastianbergmann/phpunit/issues/6247): Support for using `#[CoversNothing]` on a test method - [#&#8203;6285](https://github.com/sebastianbergmann/phpunit/issues/6285): `#[RunClassInSeparateProcess]` attribute - [#&#8203;6356](https://github.com/sebastianbergmann/phpunit/issues/6356): Support for version constraint string argument without explicit version comparison operator *** Learn how to install or update PHPUnit 13.0 in the [documentation](https://docs.phpunit.de/en/13.0/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://phpunit.de/newsletter) newsletter to receive updates about and tips for PHPUnit. ### [`v12.5.17`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.17): PHPUnit 12.5.17 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.16...12.5.17) ##### Changed - [#&#8203;4793](https://github.com/sebastianbergmann/phpunit/issues/4793): Exit with non-zero exit code when `exit` was called from some test ##### Fixed - [#&#8203;5881](https://github.com/sebastianbergmann/phpunit/issues/5881): `colors="true"` in XML configuration file does not unconditionally enable colored output - [#&#8203;6019](https://github.com/sebastianbergmann/phpunit/issues/6019): `--migrate-configuration` does not update schema location when XML content already validates against current schema - [#&#8203;6372](https://github.com/sebastianbergmann/phpunit/issues/6372): Assertion failure inside `willReturnCallback()` is silently swallowed when code under test catches exceptions - [#&#8203;6464](https://github.com/sebastianbergmann/phpunit/issues/6464): Process isolation template unconditionally calls `set_include_path()` - [#&#8203;6571](https://github.com/sebastianbergmann/phpunit/issues/6571): Static analysis errors for `TestDoubleBuilder` method chaining *** Learn how to install or update PHPUnit 12.5 in the [documentation](https://docs.phpunit.de/en/12.5/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://phpunit.de/newsletter) newsletter to receive updates about and tips for PHPUnit. </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4wLjYiLCJ1cGRhdGVkSW5WZXIiOiI0My4xMDQuMSIsInRhcmdldEJyYW5jaCI6InRydW5rIiwibGFiZWxzIjpbIjBUeXBlL0RlcGVuZGVuY2llcyIsIjFEZXBlbmRlbmN5L0NvbXBvc2VyIiwiMkRlcGVuZGVuY3ktSW1wYWN0L01ham9yIl19-->
Update dependency phpunit/phpunit to v13
Some checks failed
renovate/artifacts Artifact file update failure
ci/woodpecker/push/sonarcube Pipeline was successful
ci/woodpecker/pr/sonarcube Pipeline was successful
ci/woodpecker/pull_request_metadata/sonarcube Pipeline was successful
4e27d728e2
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update phpunit/phpunit:13.1.1 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires phpunit/phpunit ^13.0.0, found phpunit/phpunit[13.0.0, ..., 13.1.1] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - pestphp/pest is locked to version v4.4.5 and an update of this package was not requested.
    - pestphp/pest v4.4.5 requires phpunit/phpunit ^12.5.16 -> found phpunit/phpunit[12.5.16, 12.5.17] but it conflicts with your root composer.json require (^13.0.0).
  Problem 3
    - pestphp/pest-plugin-laravel is locked to version v4.1.0 and an update of this package was not requested.
    - pestphp/pest v4.4.5 requires phpunit/phpunit ^12.5.16 -> found phpunit/phpunit[12.5.16, 12.5.17] but it conflicts with your root composer.json require (^13.0.0).
    - pestphp/pest-plugin-laravel v4.1.0 requires pestphp/pest ^4.4.1 -> satisfiable by pestphp/pest[v4.4.5].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: composer.lock ``` Command failed: composer update phpunit/phpunit:13.1.1 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires phpunit/phpunit ^13.0.0, found phpunit/phpunit[13.0.0, ..., 13.1.1] but these were not loaded, likely because it conflicts with another require. Problem 2 - pestphp/pest is locked to version v4.4.5 and an update of this package was not requested. - pestphp/pest v4.4.5 requires phpunit/phpunit ^12.5.16 -> found phpunit/phpunit[12.5.16, 12.5.17] but it conflicts with your root composer.json require (^13.0.0). Problem 3 - pestphp/pest-plugin-laravel is locked to version v4.1.0 and an update of this package was not requested. - pestphp/pest v4.4.5 requires phpunit/phpunit ^12.5.16 -> found phpunit/phpunit[12.5.16, 12.5.17] but it conflicts with your root composer.json require (^13.0.0). - pestphp/pest-plugin-laravel v4.1.0 requires pestphp/pest ^4.4.1 -> satisfiable by pestphp/pest[v4.4.5]. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. ```
professeur-chen force-pushed renovate/phpunit-phpunit-13.x from 4e27d728e2
Some checks failed
renovate/artifacts Artifact file update failure
ci/woodpecker/push/sonarcube Pipeline was successful
ci/woodpecker/pr/sonarcube Pipeline was successful
ci/woodpecker/pull_request_metadata/sonarcube Pipeline was successful
to acbf79b3f5
Some checks failed
renovate/artifacts Artifact file update failure
2026-04-09 18:06:52 +02:00
Compare
l4p1n closed this pull request 2026-04-09 18:29:49 +02:00
Author
Collaborator

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 13.x releases. But if you manually upgrade to 13.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

### Renovate Ignore Notification Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for *any* future `13.x` releases. But if you manually upgrade to `13.x` then Renovate will re-enable `minor` and `patch` updates automatically. If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
Some checks failed
renovate/artifacts Artifact file update failure

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
l4p1n-bot/website!104
No description provided.