- Removes
beberlei/assert
from composer dependencies - Upgrades testing dependencies for PHPUnit 9
- Drops support for PHP versions below 7.3 and adds support for up to 8.0
- Adds containsOnlyInAnyOrder matcher
- Adds EqualToIgnoringLineEndings matcher ('equalToIgnoringLineEndings()')
- Updates Hamcrest to 2.0
- Valid JSON matcher (
validJSON()
)
- Bug fix:
ArrayValuesMatcher
previously threwInvalidArgumentException
if you tried to use it with a non-array-like structure. Now it will just fail the match instead. - Possibly breaking bug fix:
anArrayOfUUIDs
will now fail the match if an empty array is passed in - Bug fix:
anArrayOfUUIDs
will now handleInvalidArgumentException
thrown byAssertion::uuid()
library so that Hamcrest can properly handle the failed match
- Array values matcher (
hasValuesEqualTo
)
- Callback matcher
- Array of UUID matcher (using callback matcher + UUID matcher)
- UUID matcher
- HTML matcher