Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 1.2 KB

ChangeLog-5.4.md

File metadata and controls

19 lines (11 loc) · 1.2 KB

Changes in PHPUnit 5.4

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

Added

  • Implemented #2037: Log more information about failures in JSON output

Changed

  • The PHPUnit_Framework_TestCase::getMock() method has been deprecated. Please use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead.
  • The PHPUnit_Framework_TestCase::getMockWithoutInvokingTheOriginalConstructor() method has been deprecated. Please use PHPUnit_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