Releases: Dhii/validation-interface
Releases · Dhii/validation-interface
0.3.0-alpha3
Removed
ValidationExceptionInterface
was redundant, and burdened implementations.ValidatorInterface#validate()
must now throwRuntimeException
instead ofValidationExceptionInterface
.
0.3.0-alpha2
Added
ValidatorInterface#validate()
now has explicitvoid
return type.
Changed
- 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.
Removed
- 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.
0.3.0-alpha1
Removed
SpecAwareInterface
.ValidatorFactoryInterface
.SubjectAwareInterface
.ValidatorAwareInterface
.@since
tags everywhere.- Support for PHP < 7.1.
Changed
ValidationFailedExceptionInterface::getSubject()
is now `getValidationSubject().
0.2
0.2-alpha2
Added
ValidatorFactoryInterface
Changed
- Using newer version of
dhii/exception-interface
Removed
SpecValidatorInterface
Fixed
- Added missing import for
Traversable
inSpecAwareInterface
0.2-alpha1
Added
SpecValidatorInterface
.SpecAwareInterface
.SubjectAwareInterface
.ValidatorAwareInterface
.
0.1
Most basic interfaces and tests.