Update dependency phpunit/phpunit to v13 #104

Open
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.0.0^13.0.0 age confidence

Release Notes

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

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

Keep up to date with PHPUnit:

v12.5.13: PHPUnit 12.5.13

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

Keep up to date with PHPUnit:

v12.5.12: PHPUnit 12.5.12

Compare Source

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

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

Keep up to date with PHPUnit:

v12.5.11: PHPUnit 12.5.11

Compare Source

Deprecated
  • #​6510: Deprecate using with*() on test stubs
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 12.5 in the documentation.

Keep up to date with PHPUnit:

v12.5.10: PHPUnit 12.5.10

Compare Source

Fixed
  • #​6495: Source map for issue trigger identification is regenerated in process isolation child processes

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

Keep up to date with PHPUnit:

v12.5.9: PHPUnit 12.5.9

Compare Source

Added
  • #​6488: Allow disabling issue trigger identification for improved performance
Fixed
  • #​6486: Incorrect file name reported for errors for test methods declared in traits
  • #​6490: Incorrect test count when tests are skipped in before-class method

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

Keep up to date with PHPUnit:

v12.5.8: PHPUnit 12.5.8

Compare Source

Changed
  • To prevent Poisoned Pipeline Execution (PPE) attacks using prepared .coverage files in pull requests, a PHPT test will no longer be run if the temporary file for writing code coverage information already exists before the test runs

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

Keep up to date with PHPUnit:

v12.5.7: PHPUnit 12.5.7

Compare Source

Fixed
  • #​6362: Manually instantiated test doubles are broken since PHPUnit 11.2
  • #​6470: Infinite recursion in Count::getCountOf() for unusal implementations of Iterator or IteratorAggregate

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

Keep up to date with PHPUnit:

v12.5.6: PHPUnit 12.5.6

Compare Source

Changed

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

Keep up to date with PHPUnit:

v12.5.5: PHPUnit 12.5.5

Compare Source

Deprecated
  • #​6461: any() matcher (soft deprecation)
Fixed
  • #​6470: Mocking a class with a property hook setter accepting more types than the property results in a fatal error

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

Keep up to date with PHPUnit:

v12.5.4: PHPUnit 12.5.4

Compare Source

Changed
  • The #[AllowMockObjectsWithoutExpectations] attribute can now be used on the method level
Fixed
  • #​6446: Test runner crashes with Timer::start() has to be called before Timer::stop()

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

Keep up to date with PHPUnit:

v12.5.3: PHPUnit 12.5.3

Compare Source

Changed
  • The message emitted when a test method creates a mock object but does not configure any expectations for it has been improved

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

Keep up to date with PHPUnit:

v12.5.2: PHPUnit 12.5.2

Compare Source

Added
  • Attribute #[AllowMockObjectsWithoutExpectations] for excluding tests from the check that emits the notice for test methods that create a mock object but do not configure an expectation for it

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

Keep up to date with PHPUnit:

v12.5.1: PHPUnit 12.5.1

Compare Source

Added
  • TestCase::getStubBuilder() (analogous to TestCase::getMockBuilder()) for creating (partial) test stubs using a fluent API

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

Keep up to date with PHPUnit:

v12.5.0: PHPUnit 12.5.0

Compare Source

Added
  • #​6376: --all CLI option to ignore test selection configured in XML configuration file
  • #​6422: Make <source> element in XML code coverage report optional
Changed
  • #​6380: Allow Throwable in expectExceptionObject()
  • A PHPUnit notice is now emitted for test methods that create a mock object but do not configure an expectation for it

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

Keep up to date with PHPUnit:

v12.4.5: PHPUnit 12.4.5

Compare Source

Changed
  • Updated list of deprecated PHP configuration settings for PHP 8.4, PHP 8.5, and PHP 8.6
Fixed
  • #​6426: Fix migration of configuration without schema location

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

Keep up to date with PHPUnit:

v12.4.4: PHPUnit 12.4.4

Compare Source

Fixed
  • #​6408: Exception in a data provider method leads to internal PHPUnit error
  • #​6410: Test runner's shutdown handler is called in system-under-test's child process

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

Keep up to date with PHPUnit:

v12.4.3: PHPUnit 12.4.3

Compare Source

Fixed
  • #​6402: Avoid reading from STDOUT when rewind() fails

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

Keep up to date with PHPUnit:

v12.4.2: PHPUnit 12.4.2

Compare Source

Changed
  • Skipped tests alone no longer lead to a yellow background for the test result summary
Fixed
  • #​6391: Errors during backup of global variables and static properties are not reported

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

Keep up to date with PHPUnit:

v12.4.1: PHPUnit 12.4.1

Compare Source

Fixed
  • #​6364: --filter format used by PhpStorm stopped working
  • #​6378: Wrong method name passed to DataProviderMethodCalled event value object

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

Keep up to date with PHPUnit:

Configuration

📅 Schedule: 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.0.0` → `^13.0.0` | ![age](https://developer.mend.io/api/mc/badges/age/packagist/phpunit%2fphpunit/13.0.5?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpunit%2fphpunit/12.4.0/13.0.5?slim=true) | --- ### Release Notes <details> <summary>sebastianbergmann/phpunit (phpunit/phpunit)</summary> ### [`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.14...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.14`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.14): PHPUnit 12.5.14 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.13...12.5.14) ##### 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 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. ### [`v12.5.13`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.13): PHPUnit 12.5.13 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.12...12.5.13) ##### 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 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. ### [`v12.5.12`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.12): PHPUnit 12.5.12 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.11...12.5.12) ##### 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 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. ### [`v12.5.11`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.11): PHPUnit 12.5.11 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.10...12.5.11) ##### Deprecated - [#&#8203;6510](https://github.com/sebastianbergmann/phpunit/issues/6510): Deprecate using `with*()` on test stubs ##### 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 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. ### [`v12.5.10`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.10): PHPUnit 12.5.10 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.9...12.5.10) ##### Fixed - [#&#8203;6495](https://github.com/sebastianbergmann/phpunit/pull/6495): Source map for issue trigger identification is regenerated in process isolation child processes *** 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. ### [`v12.5.9`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.9): PHPUnit 12.5.9 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.8...12.5.9) ##### Added - [#&#8203;6488](https://github.com/sebastianbergmann/phpunit/issues/6488): Allow disabling issue trigger identification for improved performance ##### Fixed - [#&#8203;6486](https://github.com/sebastianbergmann/phpunit/issues/6486): Incorrect file name reported for errors for test methods declared in traits - [#&#8203;6490](https://github.com/sebastianbergmann/phpunit/pull/6490): Incorrect test count when tests are skipped in before-class method *** 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. ### [`v12.5.8`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.8): PHPUnit 12.5.8 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.7...12.5.8) ##### Changed - To prevent Poisoned Pipeline Execution (PPE) attacks using prepared `.coverage` files in pull requests, a PHPT test will no longer be run if the temporary file for writing code coverage information already exists before the test runs *** 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. ### [`v12.5.7`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.7): PHPUnit 12.5.7 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.6...12.5.7) ##### Fixed - [#&#8203;6362](https://github.com/sebastianbergmann/phpunit/issues/6362): Manually instantiated test doubles are broken since PHPUnit 11.2 - [#&#8203;6470](https://github.com/sebastianbergmann/phpunit/issues/6470): Infinite recursion in `Count::getCountOf()` for unusal implementations of `Iterator` or `IteratorAggregate` *** 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. ### [`v12.5.6`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.6): PHPUnit 12.5.6 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.5...12.5.6) ##### Changed - Reverted a change that caused a [build failure](https://github.com/php/php-src/actions/runs/21052584327/job/60542023395#step:14:3729) for the [PHP project's nightly community job](https://phpunit.expert/articles/how-php-and-its-ecosystem-test-each-other.html?ref=github) *** 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. ### [`v12.5.5`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.5): PHPUnit 12.5.5 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.4...12.5.5) ##### Deprecated - [#&#8203;6461](https://github.com/sebastianbergmann/phpunit/issues/6461): `any()` matcher (soft deprecation) ##### Fixed - [#&#8203;6470](https://github.com/sebastianbergmann/phpunit/issues/6470): Mocking a class with a property hook setter accepting more types than the property results in a fatal error *** 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. ### [`v12.5.4`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.4): PHPUnit 12.5.4 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.3...12.5.4) ##### Changed - The `#[AllowMockObjectsWithoutExpectations]` attribute can now be used on the method level ##### Fixed - [#&#8203;6446](https://github.com/sebastianbergmann/phpunit/issues/6446): Test runner crashes with `Timer::start() has to be called before Timer::stop()` *** 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. ### [`v12.5.3`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.3): PHPUnit 12.5.3 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.2...12.5.3) ##### Changed - The message emitted when a test method creates a mock object but does not configure any expectations for it has been improved *** 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. ### [`v12.5.2`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.2): PHPUnit 12.5.2 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.1...12.5.2) ##### Added - Attribute `#[AllowMockObjectsWithoutExpectations]` for excluding tests from the check that emits the notice for test methods that create a mock object but do not configure an expectation for it *** 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. ### [`v12.5.1`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.1): PHPUnit 12.5.1 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.5.0...12.5.1) ##### Added - `TestCase::getStubBuilder()` (analogous to `TestCase::getMockBuilder()`) for creating (partial) test stubs using a fluent API *** 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. ### [`v12.5.0`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.0): PHPUnit 12.5.0 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.4.5...12.5.0) ##### Added - [#&#8203;6376](https://github.com/sebastianbergmann/phpunit/issues/6376): `--all` CLI option to ignore test selection configured in XML configuration file - [#&#8203;6422](https://github.com/sebastianbergmann/phpunit/issues/6422): Make `<source>` element in XML code coverage report optional ##### Changed - [#&#8203;6380](https://github.com/sebastianbergmann/phpunit/pull/6380): Allow `Throwable` in `expectExceptionObject()` - A PHPUnit notice is now emitted for test methods that create a mock object but do not configure an expectation for it *** 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. ### [`v12.4.5`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.4.5): PHPUnit 12.4.5 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.4.4...12.4.5) ##### Changed - Updated list of deprecated PHP configuration settings for PHP 8.4, PHP 8.5, and PHP 8.6 ##### Fixed - [#&#8203;6426](https://github.com/sebastianbergmann/phpunit/pull/6426): Fix migration of configuration without schema location *** Learn how to install or update PHPUnit 12.4 in the [documentation](https://docs.phpunit.de/en/12.4/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.4.4`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.4.4): PHPUnit 12.4.4 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.4.3...12.4.4) ##### Fixed - [#&#8203;6408](https://github.com/sebastianbergmann/phpunit/issues/6408): Exception in a data provider method leads to internal PHPUnit error - [#&#8203;6410](https://github.com/sebastianbergmann/phpunit/issues/6410): Test runner's shutdown handler is called in system-under-test's child process *** Learn how to install or update PHPUnit 12.4 in the [documentation](https://docs.phpunit.de/en/12.4/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.4.3`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.4.3): PHPUnit 12.4.3 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.4.2...12.4.3) ##### Fixed - [#&#8203;6402](https://github.com/sebastianbergmann/phpunit/pull/6402): Avoid reading from `STDOUT` when `rewind()` fails *** Learn how to install or update PHPUnit 12.4 in the [documentation](https://docs.phpunit.de/en/12.4/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.4.2`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.4.2): PHPUnit 12.4.2 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.4.1...12.4.2) ##### Changed - Skipped tests alone no longer lead to a yellow background for the test result summary ##### Fixed - [#&#8203;6391](https://github.com/sebastianbergmann/phpunit/issues/6391): Errors during backup of global variables and static properties are not reported *** Learn how to install or update PHPUnit 12.4 in the [documentation](https://docs.phpunit.de/en/12.4/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.4.1`](https://github.com/sebastianbergmann/phpunit/releases/tag/12.4.1): PHPUnit 12.4.1 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/12.4.0...12.4.1) ##### Fixed - [#&#8203;6364](https://github.com/sebastianbergmann/phpunit/issues/6364): `--filter` format used by PhpStorm stopped working - [#&#8203;6378](https://github.com/sebastianbergmann/phpunit/issues/6378): Wrong method name passed to `DataProviderMethodCalled` event value object *** Learn how to install or update PHPUnit 12.4 in the [documentation](https://docs.phpunit.de/en/12.4/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**: 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:eyJjcmVhdGVkSW5WZXIiOiI0My4wLjYiLCJ1cGRhdGVkSW5WZXIiOiI0My4wLjYiLCJ0YXJnZXRCcmFuY2giOiJ0cnVuayIsImxhYmVscyI6WyIwVHlwZS9EZXBlbmRlbmNpZXMiLCIxRGVwZW5kZW5jeS9Db21wb3NlciIsIjJEZXBlbmRlbmN5LUltcGFjdC9NYWpvciJdfQ==-->
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.0.0 --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] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - pestphp/pest is locked to version v4.1.2 and an update of this package was not requested.
    - pestphp/pest v4.1.2 requires phpunit/phpunit ^12.4.0 -> found phpunit/phpunit[12.4.0, ..., 12.5.9] but it conflicts with your root composer.json require (^13.0.0).
  Problem 3
    - pestphp/pest-plugin-laravel is locked to version v4.0.0 and an update of this package was not requested.
    - pestphp/pest v4.1.2 requires phpunit/phpunit ^12.4.0 -> found phpunit/phpunit[12.4.0, ..., 12.5.9] but it conflicts with your root composer.json require (^13.0.0).
    - pestphp/pest-plugin-laravel v4.0.0 requires pestphp/pest ^4.0.0 -> satisfiable by pestphp/pest[v4.1.2].

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.0.0 --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] but these were not loaded, likely because it conflicts with another require. Problem 2 - pestphp/pest is locked to version v4.1.2 and an update of this package was not requested. - pestphp/pest v4.1.2 requires phpunit/phpunit ^12.4.0 -> found phpunit/phpunit[12.4.0, ..., 12.5.9] but it conflicts with your root composer.json require (^13.0.0). Problem 3 - pestphp/pest-plugin-laravel is locked to version v4.0.0 and an update of this package was not requested. - pestphp/pest v4.1.2 requires phpunit/phpunit ^12.4.0 -> found phpunit/phpunit[12.4.0, ..., 12.5.9] but it conflicts with your root composer.json require (^13.0.0). - pestphp/pest-plugin-laravel v4.0.0 requires pestphp/pest ^4.0.0 -> satisfiable by pestphp/pest[v4.1.2]. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. ```
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
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/phpunit-phpunit-13.x:renovate/phpunit-phpunit-13.x
git switch renovate/phpunit-phpunit-13.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch trunk
git merge --no-ff renovate/phpunit-phpunit-13.x
git switch renovate/phpunit-phpunit-13.x
git rebase trunk
git switch trunk
git merge --ff-only renovate/phpunit-phpunit-13.x
git switch renovate/phpunit-phpunit-13.x
git rebase trunk
git switch trunk
git merge --no-ff renovate/phpunit-phpunit-13.x
git switch trunk
git merge --squash renovate/phpunit-phpunit-13.x
git switch trunk
git merge --ff-only renovate/phpunit-phpunit-13.x
git switch trunk
git merge renovate/phpunit-phpunit-13.x
git push origin trunk
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.