Skip to content

Releases: beberlei/assert

v3.2.1

28 May 15:25
Compare
Choose a tag to compare

3.2.1 - 2019-05-28

Fixes

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\LazyAssertion to show that the return type is $this to aid IDE's static analysis.

v2.9.9

28 May 15:28
Compare
Choose a tag to compare

2.9.9 - 2019-05-28

Other changes

  • Removed version number from composer.json to allow tag to provide version number

v2.9.8

28 May 14:37
Compare
Choose a tag to compare

2.9.8 - 2019-05-28

Fixes

Includes unreleased :

  • Fixed broken regex for Assert\Assertion::url() (Thanks to Menno Holtkamp)

v3.2.0

24 Dec 15:25
Compare
Choose a tag to compare

3.2.0 - 2018-12-24

Added assertions

Other changes

  • Added PHP 7.3 to Travis pipeline
  • Added support for \ResourceBundle and \SimpleXMLElement to Assertion::count().

v3.1.0

29 Oct 11:16
Compare
Choose a tag to compare

3.1.0 - 2018-10-29

Other changes

  • Refactor assertion messages for Assert\Assertion::notEq(), Assert\Assertion::notSame(), and Assert\Assertion::notInArray() (Thanks to Rick Kuipers)

v3.0.1

11 Oct 22:25
Compare
Choose a tag to compare

3.0.1 - 2018-07-04

Added assertions

v3.0.0

04 Jul 11:06
Compare
Choose a tag to compare

3.0.0 - 2018-07-04

Changes

  • Deprecate support for PHP < 7.0

Fixes

  • An AssertionFailedException must be a Throwable (Thanks to Marco Pivetta)

v2.9.6

11 Jun 17:18
Compare
Choose a tag to compare

2.9.6 - 2018-04-16

Fixes

  • Made constraints in exceptions consistent for all assertions (Thanks to Peter Kruithof)

v2.9.5

16 Apr 11:19
Compare
Choose a tag to compare

2.9.5 - 2018-04-16

Fixes

  • Remove DocBlock entry causing exception in third party DocBlock parser (Thanks to Koutsoumpos Valantis)

v2.9.4

09 Apr 14:48
Compare
Choose a tag to compare

2.9.4 - 2018-04-09

Fixes

  • Prevent date overflow in Assertion::date() by reset preset date value (Thanks to Nobuhiro Nakamura)