Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 21, 2025

This PR contains the following updates:

Package Change Age Confidence
phpunit/phpunit (source) 12.4.312.5.4 age confidence

Release Notes

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

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 is behind base branch, 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/phpunit-phpunit-12.x-lockfile branch from b0a5b62 to 8fb1165 Compare December 1, 2025 09:48
@renovate renovate bot changed the title Update dependency phpunit/phpunit to v12.4.4 Update dependency phpunit/phpunit to v12.4.5 Dec 1, 2025
@renovate renovate bot changed the title Update dependency phpunit/phpunit to v12.4.5 Update dependency phpunit/phpunit to v12.5.0 Dec 5, 2025
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-12.x-lockfile branch 2 times, most recently from 217290e to 732cd51 Compare December 6, 2025 16:50
@renovate renovate bot changed the title Update dependency phpunit/phpunit to v12.5.0 Update dependency phpunit/phpunit to v12.5.1 Dec 6, 2025
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-12.x-lockfile branch from 732cd51 to b210d53 Compare December 8, 2025 10:27
@renovate renovate bot changed the title Update dependency phpunit/phpunit to v12.5.1 Update dependency phpunit/phpunit to v12.5.2 Dec 8, 2025
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-12.x-lockfile branch from b210d53 to 44ea9f7 Compare December 11, 2025 10:27
@renovate renovate bot changed the title Update dependency phpunit/phpunit to v12.5.2 Update dependency phpunit/phpunit to v12.5.3 Dec 11, 2025
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-12.x-lockfile branch from 44ea9f7 to 3a13b3f Compare December 15, 2025 09:45
@renovate renovate bot changed the title Update dependency phpunit/phpunit to v12.5.3 Update dependency phpunit/phpunit to v12.5.4 Dec 15, 2025
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-12.x-lockfile branch from 3a13b3f to 6ed4877 Compare December 30, 2025 14:12
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