Immutable
release. Only release title and notes can be modified.
Changed
- Messages for tests that are skipped because of an unsatisfied
RequiresPhp,RequiresPhpunit, orRequiresPhpExtensionversion requirement now include the version that is actually being used - Warning messages about incomplete version requirements as well as version requirements without a version comparison operator, and the error message for invalid version requirements, now include the full version requirement and explain what is expected
Fixed
- #6825: Forwarding to previous error handler can result in infinite recursion
- #6831: PHPUnit's error handler does not respect
@error suppression and forwards suppressed warnings to previous error handler - #6833:
assertArrayHasKey()does not acceptArrayAccessimplementations with a specific value type when test code is analysed with PHPStan at level 9 - #6854: Deprecation triggered in first-party code is wrongly classified as indirect when the first-party code is called from third-party code
- Test classes were not sorted relative to each other when tests were ordered by duration
Learn how to install or update PHPUnit 13.2 in the documentation.
Keep up to date with PHPUnit:
- You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.