Yii Validator package was updated with the following enhancements and new features:
- added
getFirstErrorMessagesIndexedByPath()
andgetFirstErrorMessagesIndexedByAttribute()
methods toResult
; - added rules for validating value types -
boolean
,float
,integer
,string
; - added
Result::add()
method for merging other results to the base one; - added
UniqueIterable
rule; - added
AnyRule
rule.