Skip to content

Releases: ko-ko-ko/php-assert

1.1.0

26 Mar 16:30
Compare
Choose a tag to compare
  • Add hasKey assertion
  • Add count assertion
  • Add isSame assertion
  • Add notSame assertion

1.0.0

09 Jan 05:15
Compare
Choose a tag to compare

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

0.2.0

04 May 12:43
Compare
Choose a tag to compare
Move to another vendor