Assert::notFalse()
Assert::isAOf()
Assert::isAnyOf()
Assert::isNotA()
Assert::validArrayKey()
Assert::isNonEmptyList()
Assert::isNonEmptyMap()
@throws InvalidArgumentException
annotations to all methods that throw.@psalm-assert
for the list type to the isList
assertion.ResourceBundle
& SimpleXMLElement
now pass the isCountable
assertions.
They are countable, without implementing the Countable
interface.range
now has the proper variables.isList
and isMap
. As it is a valid form of both.
If a non empty variant is needed, use isNonEmptyList
or isNonEmptyMap
.@psalm-assert
annotations, that were 'side effect' assertions See:
3.6.0
. Which is enforced through a composer conflict.
If you don't use psalm, then this has no impact.Assert::uniqueValues()
Assert::unicodeLetters()
Assert::email()
@psalm-assert
annotations where appropriate.Assert::endsWith()
would not give the correct result when dealing with multibyte suffix.Assert::length(), minLength, maxLength, lengthBetween
would not give the correct result when dealing with multibyte characters.NOTE: These 2 changes may break your assertions if you relied on the fact that multibyte characters didn't behave correctly.
Assert::isTraversable()
in favor of Assert::isIterable()
trigger_error
. It is now annotated as well.Please login to add feedback.
This update has been submitted for testing by siwinski.
This update's test gating status has been changed to 'waiting'.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
This update can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by bodhi.
This update has been pushed to stable.