UnionOfRAD/lithium — pull request #800 by v-v-vishnevskiy (2013-01-25 10:35:27+00:00)
Title: Avoid integer and float values false pass 'inList' validation

As PHP prefers to compare integers/floats if one of the arguments have type int/float false positives are very common, like 0 == 'a'. This patch prevents such behavior for `'inList'` validation rule but only for case when validated value have type int/float. It does not process list of allowed values.