Skip to content

Releases: beberlei/assert

v3.3.2

17 Dec 11:51
cb70015
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.3.1...v3.3.2

v3.3.1

18 Apr 20:17
Compare
Choose a tag to compare

v3.3.0-beta1

13 Nov 19:05
c9ed634
Compare
Choose a tag to compare
v3.3.0-beta1 Pre-release
Pre-release

v3.2.7: ## 3.2.7 - 2019-12-19

19 Dec 17:52
Compare
Choose a tag to compare

3.2.7 - 2019-12-19

Fixes

  • Reinstated the @method return type for Assert\LazyAssertion methods to show that the return type is LazyAssertion.

v3.2.6

10 Oct 10:34
Compare
Choose a tag to compare

3.2.6 - 2019-10-10

Fixes

  • Make Assert\Assertion::stringify() UTF-8 safe (Thanks to Pedram Azimaei)

v3.2.5

10 Oct 10:23
Compare
Choose a tag to compare

3.2.5 - 2019-10-10 - Fix the broken things release.

Notice

  • Sigh!
    • Richard Quadling

Fixes

  • REALLY Removed dependency of the intl extension.
  • Updated the Docblocks for Assert\Assertion::all() helper to show that the value is expected to be an array.

v3.2.4

10 Oct 10:14
Compare
Choose a tag to compare

3.2.4 - 2019-10-09 - Fix the broken things release.

Notice

  • It seems I've been slightly lax in verifying the signature changes and expected extensions.
    Hopefully, both of these have been fixed in this version.
    Truly sorry for breaking the internet!
    • Richard Quadling

Fixes

  • Restored \Assert\Assertion::createException() signature to 3.2.2.
  • Removed dependency of the intl extension. If the extension is available, then Assert\Assertion::count(), Assert\Assertion::isCountable(), Assert\Assertion::minCount(), and Assert\Assertion::maxCount() will operate on ResourceBundles.
  • Fixed the @method return type for Assert\LazyAssertion methods to show that the return type is static for extensions of Assert\LazyAssertion.
    NOTE : Docblock does not have the ability to differentiate between a non static @method whose returns type is of the subclass and a @method that is called statically (PSR-5#899). So the use of static static is a fudge that sort of works for IDEs that need to know about the method that MAY be overridden in a subclass.

v3.2.3

23 Aug 17:59
Compare
Choose a tag to compare

3.2.3 - 2019-08-23

Other changes

  • Added type hints and documentation consistency (Thanks to Andru Cherny)

v3.2.2

23 Aug 16:05
Compare
Choose a tag to compare

3.2.2 - 2019-08-23

Added assertions

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.