Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 1.19 KB

ChangeLog-12.1.md

File metadata and controls

15 lines (8 loc) · 1.19 KB

Changes in PHPUnit 12.1

All notable changes of the PHPUnit 12.1 release series are documented in this file using the Keep a CHANGELOG principles.

12.1.0 - 2025-04-04

Added

  • The AfterTestMethodCalled, AfterTestMethodErrored, AfterTestMethodFinished, BeforeTestMethodCalled, BeforeTestMethodErrored, BeforeTestMethodFinished, PostConditionCalled, PostConditionErrored, PostConditionFinished, PreConditionCalled, PreConditionErrored, and PreConditionFinished event value objects now have test() method that returns a value object representing the test method for which the hook method was called

Deprecated

  • #6140: The testClassName() method on the AfterTestMethodCalled, AfterTestMethodErrored, AfterTestMethodFinished, BeforeTestMethodCalled, BeforeTestMethodErrored, BeforeTestMethodFinished, PostConditionCalled, PostConditionErrored, PostConditionFinished, PreConditionCalled, PreConditionErrored, and PreConditionFinished event value objects (use test()->className() instead)