Release Announcement for PHPUnit 6.5.0

Sebastian Bergmann edited this page Dec 6, 2017 · 2 revisions

The PHPUnit development team announces the immediate availability of PHPUnit 6.5.0. This release adds new features and fixes bugs. A detailed list of changes is available here.

Backwards Compatibility Issues

  • The phpunit-mock-objects component now uses namespaces. For instance, PHPUnit_Framework_MockObject_MockObject is now PHPUnit\Framework\MockObject\MockObject. For compatibility, an alias from PHPUnit_Framework_MockObject_MockObject to PHPUnit\Framework\MockObject\MockObject exists. This alias will be removed in time for PHPUnit 7.

Obtaining PHPUnit 6.5

We distribute a PHP Archive (PHAR) that contains everything you need in order to use PHPUnit. Simply download it from here, make it executable, and put it into your $PATH, for instance.

Alternatively, you may use Composer to download and install PHPUnit as well as its dependencies.


PHPUnit 6.5 requires PHP 7.0; using the latest version of PHP is highly recommended. The documentation has a detailed list of the PHP extensions that are required to use PHPUnit.

Looking Ahead

The goal of our release process is to deliver new features into the hands of our users every two months. The next release with new features will be PHPUnit 7.0. It is currently in development and will become stable on February 2, 2018.

PHPUnit 7.0 will no longer support PHP 7.0.

Support for PHPUnit 6

Following our release process, PHPUnit 6 will receive bug fixes until February 8, 2019.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.