Releases: beberlei/assert
Releases · beberlei/assert
v2.9.3
2.9.3 - 2018-03-16
Changes
- Expand error for
\Assert\Assertion::count()to include the supplied count (Thanks to Yoann Blot)
v2.9.2
2.9.2 - 2018-01-25
Fixes
- Usage of custom extended Assertion class in LazyAssertion (Thanks to Marek Štípek)
v2.9.1
2.9.1 - 2018-01-25
Deprecation notice
- Support for PHP 5 will be dropped at the end of 2018, in line with PHP's supported versions.
Fixes
\Assert\Assertion::generateMessage()will now receive the default message for an assertion if one is not supplied (Thanks to Romans Malinovskis)
v2.8.1
2.8.1 - 2017-11-30
Fixes
Assertion::integerish()has had several issues in the last couple of versions.
Hopefully these are now fixed.
Thanks to Erik Roelofs and Michał Mleczko
Deprecation notice
- The functions
\Assert\that(),\Assert\thatAll(),\Assert\thatNullOr(), and\Assert\lazy()are no longer marked as deprecated.
Both the functional and static constructors work together. Whichever you wish to use is a personal preference.
v2.7.11
v2.7.10
v2.7.9
2.7.9 - 2017-11-13
Fixes
Assertion::integerish([])now correctly asserts integers with leading zeros in strings (Thank to Albert Casademont)
v2.7.8
2.7.8 - 2017-10-20
Fixes
Assertion::integerish([])now throws exception as expected (Thank to Thomas Flack)