Releases: beberlei/assert
Releases · beberlei/assert
v3.2.1
3.2.1 - 2019-05-28
Fixes
- Updated regex for
Assert\Assertion::url()(Thanks to Christophe Histaesse) - Fixed broken regex for
Assert\Assertion::url()(Thanks to Menno Holtkamp)
Other changes
- Added PHP 7.3.0, PHP 7.3.1, and PHP 7.3.2 to Travis pipeline as there are differences in PCRE
- Updated docblocks for
Assert\Assertion::NullOrXxxx()to show that the first parameter can be null. - Updated docblocks for
Assert\LazyAssertionto show that the return type is$thisto aid IDE's static analysis.
v2.9.9
v2.9.8
2.9.8 - 2019-05-28
Fixes
- Updated regex for
Assert\Assertion::url()(Thanks to Christophe Histaesse)
Includes unreleased :
- Fixed broken regex for
Assert\Assertion::url()(Thanks to Menno Holtkamp)
v3.2.0
3.2.0 - 2018-12-24
Added assertions
Assertion::isCountable()(Thanks to Baptiste Clavié)Assertion::maxCount()(Thanks to Baptiste Clavié)Assertion::minCount()(Thanks to Baptiste Clavié)Assertion::nonContains()(Thanks to Baptiste Clavié)
Other changes
- Added PHP 7.3 to Travis pipeline
- Added support for
\ResourceBundleand\SimpleXMLElementtoAssertion::count().
v3.1.0
3.1.0 - 2018-10-29
Other changes
- Refactor assertion messages for
Assert\Assertion::notEq(),Assert\Assertion::notSame(), andAssert\Assertion::notInArray()(Thanks to Rick Kuipers)
v3.0.1
v3.0.0
3.0.0 - 2018-07-04
Changes
- Deprecate support for PHP < 7.0
Fixes
- An
AssertionFailedExceptionmust be aThrowable(Thanks to Marco Pivetta)
v2.9.6
2.9.6 - 2018-04-16
Fixes
- Made constraints in exceptions consistent for all assertions (Thanks to Peter Kruithof)
v2.9.5
2.9.5 - 2018-04-16
Fixes
- Remove DocBlock entry causing exception in third party DocBlock parser (Thanks to Koutsoumpos Valantis)
v2.9.4
2.9.4 - 2018-04-09
Fixes
- Prevent date overflow in Assertion::date() by reset preset date value (Thanks to Nobuhiro Nakamura)