Releases: beberlei/assert
Releases · beberlei/assert
v3.3.2
What's Changed
- PHP 8.1 compatible by @frankvanhest in #320
- Improve performance of Assertion Chain class by @scyzoryck in #318
New Contributors
- @frankvanhest made their first contribution in #320
- @scyzoryck made their first contribution in #318
Full Changelog: v3.3.1...v3.3.2
v3.3.1
v3.3.0-beta1
- #302 PHP 8 support thanks to @ptondereau
- #304 Migrate from TravisCI to Github Actions
- #296 Add
Assert::uniqueValues
thanks to @gronostajo
v3.2.7: ## 3.2.7 - 2019-12-19
3.2.7 - 2019-12-19
Fixes
- Reinstated the
@method
return type forAssert\LazyAssertion
methods to show that the return type isLazyAssertion
.
v3.2.6
v3.2.5
v3.2.4
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()
, andAssert\Assertion::maxCount()
will operate onResourceBundles
. - Fixed the
@method
return type forAssert\LazyAssertion
methods to show that the return type isstatic
for extensions ofAssert\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 ofstatic 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
3.2.3 - 2019-08-23
Other changes
- Added type hints and documentation consistency (Thanks to Andru Cherny)
v3.2.2
v3.2.1
3.2.1 - 2019-05-28
Fixes
- Updated regex for
Assert\Assertion::url()
(Thanks to Christophe Histaesse) - Fixed broken regex for
Assert\Assertion::url()
(Thanks to Menno Holtkamp)
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.