All notable changes of the PHPUnit 5.7 release series are documented in this file using the Keep a CHANGELOG principles.
tearDown() do not affect getStatus()PHPUnit\Framework\TestSuite does not extend PHPUnit\FrameworkTestCase.phpt files and unconventionally named testsPHPUnit\Util\Getopt uses deprecated each() function@group and provider throwing exception in it, tests are run with --exclude-group for that group, there is another class called later (after the class from above), and the name of that another class does not match its filenamesetUseErrorHandler() produces Undefined variable errorPHPUnit\Framework\AssertionFailedError, PHPUnit\Framework\Test, and PHPUnit\Framework\TestSuite to the forward compatibility layer for PHPUnit 6stderr parameter in phpunit.xml always considered truephpunit --version does not display version when running unsupported PHPPHPUnit\Framework\TestCase:registerMockObjectsFromTestArguments()--stop-on-failure fails to stop on PHP 7PHPUnit\Framework\TestCase:registerMockObjectsFromTestArguments() does not correctly handle arrays that reference themselvesprophesize() does not work when static attributes are backed upArraySubsetConstraint uses invalid cast to arraygetMockFromWsdl() does not handle URLs with query parametersPHPUnit\Util\Test::getDataFromTestWithAnnotation() raises notice when docblock contains Windows line endings@coversNothingcountOf() function is missingassertCount() does not handle generators properlyprocessUncoveredFilesFromWhitelist is not handled correctlyaddUncoveredFilesFromWhitelist and processUncoveredFilesFromWhitelist in phpunit.xsd@depends and @dataProvider are combined@expectedException annotation cannot be skippedexpectExceptionMessage() and expectExceptionCode() do not work without expectException()TestListener callbacks startTest() and endTest() are not called when test is skipped due to @dependsassertContains() and assertNotContains() do not handle UTF-8 strings correctlyyield or implement Iterator cannot be combinedPHPUnit_TextUI_Command does not exit() when it shouldassertArraySubset() does not support ArrayAccess@group annotation causes error on PHP 7.2+TestCase::getStatus() returns STATUS_PASSED instead of STATUS_RISKY for risky testassertDirectoryNotIsWriteable() calls itselfAssertionError as assertion failure on PHP 5PHPUnit_Framework_Exception correctly when expecting exceptionsextensionsDirectory configuration directive to configure a directory from which all .phar files are loaded as PHPUnit extensions--no-extensions commandline option to suppress loading of extensions (from configured extension directory)PHPUnit\Framework\Assert as an alias for PHPUnit_Framework_Assert for forward compatibilityPHPUnit\Framework\BaseTestListener as an alias for PHPUnit_Framework_BaseTestListener for forward compatibilityPHPUnit\Framework\TestListener as an alias for PHPUnit_Framework_TestListener for forward compatibility--log-json commandline option has been deprecated--tap and --log-tap commandline options have been deprecated--self-update and --self-upgrade commandline options have been deprecated (PHAR binary only)