All notable changes of the PHPUnit 5.4 release series are documented in this file using the Keep a CHANGELOG principles.
5.4.0 - 2016-06-03
- Implemented #2037: Log more information about failures in JSON output
- The
PHPUnit_Framework_TestCase::getMock()
method has been deprecated. Please usePHPUnit_Framework_TestCase::createMock()
orPHPUnit_Framework_TestCase::getMockBuilder()
instead. - The
PHPUnit_Framework_TestCase::getMockWithoutInvokingTheOriginalConstructor()
method has been deprecated. Please usePHPUnit_Framework_TestCase::createMock()
instead. - The logfile format generated using the
--log-junit
option 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. - The usage of test doubles created via data providers has been improved