- Add support for
phpunit.dist.xmlsuffix
- Add support for mocking the
strtotime()function
- Enable configuring clock and DNS mock namespaces with attributes
- Add support for CAA record type in DnsMock for improved DNS mocking capabilities
- Add a PHPUnit extension that registers the clock mock and DNS mock and the
DebugClassLoaderfrom the ErrorHandler component if present - Add
ExpectUserDeprecationMessageTraitwith a polyfill of PHPUnit'sexpectUserDeprecationMessage() - Use
totalfor asserting deprecation count when a group is not defined
- Allow setting the locale using
SYMFONY_PHPUNIT_LOCALEenv var
- Add support for mocking the
enum_existsfunction - Enable reporting of deprecations triggered by Doctrine by default
- Add support for mocking the
hrtime()function
- Add option
ignoreFileto configure a file that lists deprecation messages to ignore
- Remove
SetUpTearDownTrait
- bumped the minimum PHP version to 7.1.3
- bumped the minimum PHPUnit version to 7.5
- deprecated the
SetUpTearDownTraittrait, use original methods with "void" return typehint. - added
logFileoption to write deprecations to a file instead of echoing them
- ignore verbosity settings when the build fails because of deprecations
- added per-group verbosity
- added
ExpectDeprecationTraitto be able to define an expected deprecation from inside a test - deprecated the
@expectedDeprecationannotation, use theExpectDeprecationTrait::expectDeprecation()method instead
- removed
weak_vendormode, usemax[self]=0instead
- made the bridge act as a polyfill for newest PHPUnit features
- added
SetUpTearDownTraitto allow working around thevoidreturn-type added by PHPUnit 8 - added namespace aliases for PHPUnit < 6
- added
ClassExistsMock - bumped PHP version from 5.3.3 to 5.5.9
- split simple-phpunit bin into php file with code and a shell script
- Search for
SYMFONY_PHPUNIT_VERSION,SYMFONY_PHPUNIT_REMOVE,SYMFONY_PHPUNIT_DIRenv var inphpunit.xmlthen inphpunit.xml.dist
- support for the
testLegacyprefix in method names to mark a test as legacy has been dropped, use the@group legacynotation instead - support for the
Legacyprefix in class names to mark tests as legacy has been dropped, use the@group legacynotation instead - support for passing an array of mocked namespaces not indexed by the mock
feature to the constructor of the
SymfonyTestsListenerTraitclass was dropped
- added a
CoverageListenerto enhance the code coverage report - all deprecations but those from tests marked with
@group legacyare always displayed when not inweakmode
- using the
testLegacyprefix in method names to mark a test as legacy is deprecated, use the@group legacynotation instead - using the
Legacyprefix in class names to mark a test as legacy is deprecated, use the@group legacynotation instead
- passing a numerically indexed array to the constructor of the
SymfonyTestsListenerTraitis deprecated, pass an array of namespaces indexed by the mocked feature instead