Skip to content

Releases: beberlei/assert

v2.9.3

16 Mar 17:51

Choose a tag to compare

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

25 Jan 13:35

Choose a tag to compare

2.9.2 - 2018-01-25

Fixes

  • Usage of custom extended Assertion class in LazyAssertion (Thanks to Marek Štípek)

v2.9.1

25 Jan 13:02

Choose a tag to compare

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

30 Nov 13:27

Choose a tag to compare

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

13 Nov 18:35

Choose a tag to compare

2.7.11 - 2017-11-13

Fixes

  • Assertion::integerish(0) and Assertion::integerish('0') now assert correctly.

v2.7.10

13 Nov 18:15

Choose a tag to compare

2.7.10 - 2017-11-13

Added assertions

v2.7.9

13 Nov 16:47

Choose a tag to compare

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

20 Oct 16:17

Choose a tag to compare

2.7.8 - 2017-10-20

Fixes

  • Assertion::integerish([]) now throws exception as expected (Thank to Thomas Flack)

v2.7.7

18 Oct 15:35

Choose a tag to compare

2.7.7 - 2017-10-18

Fixes

  • Basic Auth usernames and passwords can contain '.' (Thank to Fede Isas)

v2.7.6

04 May 02:05

Choose a tag to compare

2.7.6 - 2017-05-04

Fixes