ChangeLog.md
All notable changes are documented in this file using the Keep a CHANGELOG principles.
ArrayComparator sorts objects by spl_object_id(), breaking canonicalized equality for arrays of equal objectssort() in ArrayComparator produces non-deterministic results for arrays with mixed typesArrayComparator sorts objects by spl_object_id(), breaking canonicalized equality for arrays of equal objectssort() in ArrayComparator produces non-deterministic results for arrays with mixed typesClosureComparator failsSebastianBergmann\Comparator\Comparator should not have been marked as private implementation detail of this librarySplObjectStorage methods that will be deprecated in PHP 8.5Closure objectsINF is considered equal to -INFSplObjectStorage methods that will be deprecated in PHP 8.5INF is considered equal to -INFBcMath\Number objectsUninitialized string offset -1 warningSplObjectStorage methods that will be deprecated in PHP 8.5MockObjectComparator only works on instances of PHPUnit\Framework\MockObject\MockObject, but not on instances of PHPUnit\Framework\MockObject\StubMockObjectComparator only ignores the $__phpunit_invocationMocker property, but not other properties with names prefixed with __phpunit_Comparator::$factory is now private, use Comparator::factory() insteadComparisonFailure, DOMNodeComparator, DateTimeComparator, ExceptionComparator, MockObjectComparator, NumericComparator, ResourceComparator, SplObjectStorageComparator, and TypeComparator are now finalScalarComparator and DOMNodeComparator now use mb_strtolower($string, 'UTF-8') instead of strtolower($string)$identical parameter from ComparisonFailure::__construct()Comparator::$exporterSplObjectStorage methods that will be deprecated in PHP 8.5float comparison precision'0' and falseSebastianBergmann\Comparator\Exception now correctly extends \ThrowableValueErrorcomposer.json from ^7.3 || ^8.0 to >=7.3SplObjectStorage methods that will be deprecated in PHP 8.5float comparison precision'0' and falsecomposer.json from ^7.1 to >=7.1MockObjectComparator is now tried before all other (default) comparatorsDOMNodeComparator ignores $ignoreCase parameterScalarComparator does not handle extremely ugly string comparison edge casesDateTimeComparator does not support fractional second deltassebastian/diffDateTimeImmutable objectsSebastianBergmann\Comparator\Factory::reset() to unregister all non-default comparatorsphpunit/phpunit-mock-objects version ^5.0