Skip to content

PHPUnit 12.0.3

Choose a tag to compare

@github-actions github-actions released this 18 Feb 06:30
12.0.3
df170d6

Changed

  • TestCase::__construct() is now declared final (it was annotated with @final before and the announced changed from @final to final for PHPUnit 12 was forgotten)

Fixed

  • #5951: Restore the includeUncoveredFiles configuration option
  • #6133: Precision loss in aggregated test suite execution time(s) reported by JUnit XML logger
  • A Test\PreparationFailed event is now emitted in addition to a Test\Errored event when an unexpected exception is triggered in a before-test method
  • A Test\Passed event is no longer emitted in addition to a Test\Failed or Test\Errored event when an assertion failure or an unexpected exception is triggered in an after-test method
  • A TestSuite\Finished event is now emitted when a before-first-test method errors

How to install or update PHPUnit