Skip to content

Update dependency phpunit/phpunit to v12.5.24#258

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/phpunit-phpunit-12.x-lockfile
May 1, 2026
Merged

Update dependency phpunit/phpunit to v12.5.24#258
renovate[bot] merged 1 commit into
mainfrom
renovate/phpunit-phpunit-12.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 1, 2026

This PR contains the following updates:

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

Release Notes

sebastianbergmann/phpunit (phpunit/phpunit)

v12.5.24: PHPUnit 12.5.24

Compare Source

Added
  • #​6596: Backport TestCase::invokeTestMethod() method for customizing test method invocation from PHPUnit 13
Fixed
  • #​6595: Crash when before-class or after-class method fails with assertion failure
  • #​6599: TeamCity logger does not wrap failures in before-test methods with testStarted and testFinished
  • #​6601: Anonymous classes are not rejected with a clear error when creating a test double
  • MockBuilder::setMockClassName() and TestStubBuilder::setStubClassName() now reject values that are not valid unqualified PHP class identifiers, throwing the new InvalidClassNameException
  • The regular expression used by Generator::ensureValidMethods() to validate method names passed to MockBuilder::onlyMethods() and addMethods() was not anchored, so any string containing a valid identifier substring (including strings with parentheses, braces, comments, or newlines) was accepted

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

Keep up to date with PHPUnit:

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "after 6am every weekday"
  • Automerge
    • "after 7am every weekday"

🚦 Automerge: Enabled.

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 merged commit 117843d into main May 1, 2026
2 checks passed
@renovate renovate Bot deleted the renovate/phpunit-phpunit-12.x-lockfile branch May 1, 2026 17:06
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.

0 participants