- Allow setting the locale using
SYMFONY_PHPUNIT_LOCALE
env var
- Add support for mocking the
enum_exists
function - Enable reporting of deprecations triggered by Doctrine by default
- Add support for mocking the
hrtime()
function
- Add option
ignoreFile
to 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
SetUpTearDownTrait
trait, use original methods with "void" return typehint. - added
logFile
option 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
ExpectDeprecationTrait
to be able to define an expected deprecation from inside a test - deprecated the
@expectedDeprecation
annotation, use theExpectDeprecationTrait::expectDeprecation()
method instead
- removed
weak_vendor
mode, usemax[self]=0
instead
- made the bridge act as a polyfill for newest PHPUnit features
- added
SetUpTearDownTrait
to allow working around thevoid
return-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_DIR
env var inphpunit.xml
then inphpunit.xml.dist
- support for the
testLegacy
prefix in method names to mark a test as legacy has been dropped, use the@group legacy
notation instead - support for the
Legacy
prefix in class names to mark tests as legacy has been dropped, use the@group legacy
notation instead - support for passing an array of mocked namespaces not indexed by the mock
feature to the constructor of the
SymfonyTestsListenerTrait
class was dropped
- added a
CoverageListener
to enhance the code coverage report - all deprecations but those from tests marked with
@group legacy
are always displayed when not inweak
mode
- using the
testLegacy
prefix in method names to mark a test as legacy is deprecated, use the@group legacy
notation instead - using the
Legacy
prefix in class names to mark a test as legacy is deprecated, use the@group legacy
notation instead
- passing a numerically indexed array to the constructor of the
SymfonyTestsListenerTrait
is deprecated, pass an array of namespaces indexed by the mocked feature instead