All notable changes of the PHPUnit 6.4 release series are documented in this file using the Keep a CHANGELOG principles.
6.4.4 - 2017-11-08
- Fixed #2814: Incorrect signature of
expectExceptionObject()
- Fixed #2844: The commandline option
--whitelist
has no effect
6.4.3 - 2017-10-16
- Fixed #2811:
expectExceptionMessage()
does not work withoutexpectException()
6.4.2 - 2017-10-15
- Fixed #1873: Arguments for an object within a listener cannot accept multiple arguments of the same type
- Fixed #2237:
assertArraySubset()
should provide the diff when the assertion fails - Fixed #2688:
assertNotContains()
interferes with actual string - Fixed #2693: Second
yield from
is not called from a data provider - Fixed #2721: Confusing failure message when
assertFileNotEquals()
is used on two empty files - Fixed #2731: Empty exception message cannot be expected
- Fixed #2778:
assertContains()
does not handle empty strings in strings correctly
6.4.1 - 2017-10-07
- Fixed #2791: Process Isolation does not work with PHPUnit PHAR
- Fixed #2792:
get_resource_type()
expects parameter 1 to be resource, string given
6.4.0 - 2017-10-06
- Implemented #1993: Add
--list-tests
and--list-tests-xml
options for listing all tests (without executing them) - Implemented #2780: Add support for expecting exceptions based on
Exception
objects - Added
TestCase::registerComparator()
to register customComparator
implementations for use withassertEquals()
that are automatically unregistered after the test - Added
TestListenerDefaultImplementation
trait that provides empty implementations of theTestListener
methods
- The
PHPUnit\Framework\BaseTestListener
class is now deprecated
- Fixed #2750: Useless call to
array_map()