Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 2.41 KB

ChangeLog-11.4.md

File metadata and controls

37 lines (25 loc) · 2.41 KB

Changes in PHPUnit 11.4

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

11.4.1 - 2024-10-08

Changed

  • Updated regular expressions used by StringMatchesFormatDescription constraint to be consistent with PHP's run-tests.php

Fixed

  • #5977: TestDox result collector does not correctly handle baseline-ignored E_DEPRECATED issues

11.4.0 - 2024-10-05

Changed

  • #5915: Bootstrap extensions before building test suite
  • #5917: Seal event facade before loading the test suite
  • #5923: Filter configured deprecation triggers when displaying deprecation details
  • #5927: #[RequiresPhpunitExtension] attribute
  • #5928: Filter tests based on the PHP extensions they require
  • #5964: Better error message when data provider is invalid
  • The XML configuration file generator now references vendor/phpunit/phpunit/phpunit.xsd (instead of https://schema.phpunit.de/X.Y/phpunit.xsd) when PHPUnit was installed using Composer and phpunit --generate-configuration was invoked in the directory where vendor is located
  • The --migrate-configuration command no longer replaces vendor/phpunit/phpunit/phpunit.xsd with https://schema.phpunit.de/X.Y/phpunit.xsd
  • The output of --list-groups now shows how many tests a group contains
  • The output of --list-suites now shows how many tests a test suite contains

Deprecated

  • #5951: includeUncoveredFiles configuration option
  • #5958: Support for #[CoversTrait] and #[UsesTrait] attributes
  • #5960: Support for targeting trait methods with the #[CoversMethod] and #[UsesMethod] attributes (and respective annotations)