The PHPUnit development team announces the immediate availability of PHPUnit 6. This release adds new features, changes and removes existing features, and fixes bugs.
A detailed list of changes is available here.
Active support for PHP 5.6 by the PHP project ended on December 31, 2016. The only actively supported versions of PHP as of February, 3 2017 are PHP 7.0 and PHP 7.1.
--dont-report-useless-testscommandline option or the
beStrictAboutTestsThatDoNotTestAnything="false" configuration directive to disable this risky test check.
--globals-backupcommandline option or the
backupGlobals="true"configuration directive to enable this feature.
--log-junitoption and the
<log type="junit" target="..."/>configuration directive has been updated to match the current format used by JUnit. Due to this change you may need to update how your continuous integration server processes test result logfiles generated by PHPUnit.
We distribute a PHP Archive (PHAR) that contains everything you need in order to use PHPUnit. Alternatively, you may use Composer to download and install PHPUnit as well as its dependencies.
Detailed information on supported versions of PHPUnit is available here. Below is a summary as of February 3, 2017: