v1.1.0
·
29 commits
to 1.x
since this release
Immutable
release. Only release title and notes can be modified.
Added
keys()andvalues()iterating expectations to apply assertions across an iterable's keys or valuesisBetween(float|int $min, float|int $max, bool $inclusive = true)expectation for numeric range checksisOneOf(non-empty-list<mixed> $choices)expectation, with PHPStan narrowing to the union of literal allowed values when the list is constanthasMinLength(int<1, max> $min)andhasMaxLength(int<1, max> $max)expectations for bounded-string checksisUrl()expectation, backed byfilter_var($value, FILTER_VALIDATE_URL)
Fixed
- Improved failure-message wording for iterating expectations (
keys(),values()) to clearly indicate which key or value triggered the failure
Full Changelog: v1.0.0...v1.1.0