UnionOfRAD/lithium — pull request #1051 by davidpersson (2014-01-08 16:18:49+00:00)
Title: Validator Any Fix

This PR fixes Validator::_checkFormat when used with the `any` option.

The method (using the any option) would before return false and break
out the loop if any of the given formats didn't match.

This behavior has been changed, so that if any format matches true
is returned. Only in the case none matched false is returned.

Please verify if this PR doesn't introduce any unwanted side effects. As far as I can see there are none and all existing tests still pass. But I may have missed an edge case. So it would be good to at least have another pair of eyes on this.

This PR references #888.