Release Announcement for PHPUnit 4.5.0

Sebastian Bergmann edited this page Feb 8, 2017 · 7 revisions

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

New Features

  • Out-of-the-Box support for Prophecy
  • Added --columns <n> commandline option to set the number of columns to use for progress output. --columns max may be used to use the maximum number of columns available in the current terminal.

Deprecated Settings

The --strict commandline option as well as the strict attribute of the XML configuration have been deprecated. These settings activate all risky tests checks which can be undesired. Use the fine-grained options to activate only the checks you need instead.

Obtaining PHPUnit 4.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 4.5 requires PHP 5.3.3; 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 following releases are currently in development:

  • PHPUnit 4.6 is the current beta release series of PHPUnit. It will become stable on April 3, 2015.
  • PHPUnit 4.7 is the current alpha release series of PHPUnit. It will go into beta on April 3, 2015.
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.