NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #41 most downloaded on Packagist
The PHP Unit Testing framework.
Latest stable
13.4.7
Last release 4 days ago
13 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
866 releases · first in 2012
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Make PHAR build reproducible across filesystems (files are now added to the PHAR sorted by their path instead of in the order in which the filesystem
phpunit-library-X.Y.Z.phar) is no longer built, it could not be loaded since PHPUnit 9.5.8Learn how to install or update PHPUnit 9.6 in the documentation.
The Software Bill of Materials (SBOM) embedded in the PHAR now uses CycloneDX 1.7 and provides the NTIA minimum elements as well as the data fields th
Learn how to install or update PHPUnit 9.6 in the documentation.
Do not pass empty output of a test that was run in a separate process to unserialize() (which emits a warning for an empty string as of PHP 8.6)
unserialize() (which emits a warning for an empty string as of PHP 8.6)Learn how to install or update PHPUnit 9.6 in the documentation.
Use spl_object_id() instead of spl_object_hash() (which will be deprecated in PHP 8.6)
spl_object_id() instead of spl_object_hash() (which will be deprecated in PHP 8.6)@) when calling DeepCopy\DeepCopy::copy() because it uses spl_object_hash() (which will be deprecated in PHP 8.6)Learn how to install or update PHPUnit 9.6 in the documentation.
Learn how to install or update PHPUnit 9.6 in the documentation.
Learn how to install or update PHPUnit 9.6 in the documentation.
Regression introduced in PHPUnit 9.6.33
Learn how to install or update PHPUnit 9.6 in the documentation.
To prevent Poisoned Pipeline Execution (PPE) attacks using prepared .coverage files in pull requests, a PHPT test will no longer be run if the tempora
.coverage files in pull requests, a PHPT test will no longer be run if the temporary file for writing code coverage information already exists before the test runsLearn how to install or update PHPUnit 9.6 in the documentation.
PHPUnit\Framework\MockObject exceptions are now subtypes of PHPUnit\Exception
PHPUnit\Framework\MockObject exceptions are now subtypes of PHPUnit\ExceptionLearn how to install or update PHPUnit 9.6 in the documentation.
No changes; phpunit.phar rebuilt with PHP 8.4 to work around PHP-Scoper issue #1139
phpunit.phar rebuilt with PHP 8.4 to work around PHP-Scoper issue #1139Learn how to install or update PHPUnit 9.6 in the documentation.
Updated list of deprecated PHP configuration settings for PHP 8.4, PHP 8.5, and PHP 8.6
Learn how to install or update PHPUnit 9.6 in the documentation.
No changes; phpunit.phar rebuilt with updated dependencies
phpunit.phar rebuilt with updated dependenciesLearn how to install or update PHPUnit 9.6 in the documentation.
No changes; phpunit.phar rebuilt with updated dependencies
phpunit.phar rebuilt with updated dependenciesLearn how to install or update PHPUnit 9.6 in the documentation.
Learn how to install or update PHPUnit 9.6 in the documentation.
__sleep() and __wakeup() from test double code generation on PHP >= 8.5Learn how to install or update PHPUnit 9.6 in the documentation.
Implement __serialize() in addition to __sleep() (which will be deprecated in PHP 8.5)
__serialize() in addition to __sleep() (which will be deprecated in PHP 8.5)Learn how to install or update PHPUnit 9.6 in the documentation.
Nothing published for this version
Do not use SplObjectStorage methods that will be deprecated in PHP 8.5
ReflectionProperty::setAccessible() with PHP >= 8.1SplObjectStorage methods that will be deprecated in PHP 8.5Learn how to install or update PHPUnit 9.6 in the documentation.
One column per quarter.