Skip to content

Release Announcement for PHPUnit 4.5.0

Sebastian Bergmann edited this page Feb 9, 2015 · 6 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.

Requirements

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.
Clone this wiki locally