Releases: ko-ko-ko/php-assert
Releases · ko-ko-ko/php-assert
1.1.0
1.0.0
Breaking changes
- assert function now returns static object
- removed $exceptionClass argument from assert() method
- removed method getExceptionClass()
- removed method setExceptionClass()
- method more() renamed to greater()
- method moreStrict() renamed to greaterStrict()
- method lengthMore() renamed to lengthGreater()
- method lengthMoreMoreStrict() renamed to lengthGreaterStrict()
- mb_strlen changed to strlen because mb_strlen has different results in 5.5 and 5.6
- exception text constants changed to exception classes
- inArray now has no type hinting
- toFloat and toInt check that value is numeric