Repository navigation
Released version 1.3.7
A maintenance release: PHP 8.6 support, a nicer way to write defaults, and a few edge cases that now fail with a clear message instead of a confusing one.
✨ New Features
- PHP 8.6 is supported
- Defaults can be passed as a named argument:
Expect::string(default: 'abc')
🛡️ Robustness
- Mistakes in a schema now report a clear error: an invalid regex pattern, a variadic constructor in
Expect::from(), or a key transformed into something that cannot be a key Expect::from()ignores non-public and static properties- Calling
process()recursively on the sameProcessorinstance works correctly