Release Announcement for PHPUnit 4.6.0
Clone this wiki locally
The PHPUnit development team announces the immediate availability of PHPUnit 4.6.0. This release adds new features and fixes bugs. A detailed list of changes is available here.
- PHPUnit can now optionally mark a test as risky when global variabes, super-global variables, or static attributes in user-defined classes are modified during the execution of a test. You can use the
--strict-global-statecommand-line option and the
beStrictAboutChangesToGlobalStateconfiguration setting for enabling this check.
- The PHAR build of PHPUnit no longer uses an autoloader to load PHPUnit's own classes and instead statically loads all classes on startup. While this has the potential to slightly increase the memory footprint of PHPUnit it does fix problems such as #1599.
Obtaining PHPUnit 4.6
Alternatively, you may use Composer to download and install PHPUnit as well as its dependencies.
PHPUnit 4.6 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.
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: