packagist beberlei/assert v3.2.4

latest releases: dev-master, v3.3.1, v3.3.0...
4 years ago

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.

Don't miss a new assert release

NewReleases is sending notifications on new releases.