All notable changes are documented in this file using the Keep a CHANGELOG principles.
<a href="https://github.com/sebastianbergmann/comparator/compare/3.0.1...3.0.2">3.0.2</a> - 2018-07-12
Changed
- By default,
MockObjectComparator
is now tried before all other (default) comparators
<a href="https://github.com/sebastianbergmann/comparator/compare/3.0.0...3.0.1">3.0.1</a> - 2018-06-14
Fixed
- Fixed #53:
DOMNodeComparator
ignores $ignoreCase
parameter
- Fixed #58:
ScalarComparator
does not handle extremely ugly string comparison edge cases
<a href="https://github.com/sebastianbergmann/comparator/compare/2.1.3...3.0.0">3.0.0</a> - 2018-04-18
Fixed
- Fixed #48:
DateTimeComparator
does not support fractional second deltas
Removed
- Removed support for PHP 7.0
<a href="https://github.com/sebastianbergmann/comparator/compare/2.1.2...2.1.3">2.1.3</a> - 2018-02-01
Changed
- This component is now compatible with version 3 of
sebastian/diff
<a href="https://github.com/sebastianbergmann/comparator/compare/2.1.1...2.1.2">2.1.2</a> - 2018-01-12
Fixed
- Fix comparison of
DateTimeImmutable
objects
<a href="https://github.com/sebastianbergmann/comparator/compare/2.1.0...2.1.1">2.1.1</a> - 2017-12-22
Fixed
<a href="https://github.com/sebastianbergmann/comparator/compare/2.0.2...2.1.0">2.1.0</a> - 2017-11-03
Added
- Added
SebastianBergmann\Comparator\Factory::reset()
to unregister all non-default comparators
- Added support for
phpunit/phpunit-mock-objects
version ^5.0