All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
ValidationExceptionInterface
was redundant, and burdened implementations.ValidatorInterface#validate()
must now throwRuntimeException
instead ofValidationExceptionInterface
.
ValidatorInterface#validate()
now has explicitvoid
return type.
- Updated and added missing configs.
- Allowing PHP 8.
- Now updating composer deps in CI, proving that this package is in fact installable on all target versions.
- Using newer Psalm.
- No longer depends on Dhii
Stringable
interface. Instead, using Symfony Polyfill for testing. This is recommended for use by consuming projects in cases when working PHP lower than 8.
SpecAwareInterface
.ValidatorFactoryInterface
.SubjectAwareInterface
.ValidatorAwareInterface
.@since
tags everywhere.- Support for PHP < 7.1.
ValidationFailedExceptionInterface::getSubject()
is now `getValidationSubject().
Stable release. No code changed.
ValidatorFactoryInterface
- Using newer version of
dhii/exception-interface
SpecValidatorInterface
- Added missing import for
Traversable
inSpecAwareInterface
SpecValidatorInterface
.SpecAwareInterface
.SubjectAwareInterface
.ValidatorAwareInterface
.
Initial release, containing validator and exception interfaces.