dchusovitin/zf2 — pull request #1 by dchusovitin (2011-11-23 10:39:33+00:00)
Title: Broken messages in validators

If not called Zend\Validator\AbstractValidator::__construct, abstractOptions['messageTemplates'] and abstractOptions['messageVariables'] is empty

Sample:

```php
isValid(10)) {
/**
* output array this empty values
* array(1) {
* ["notInArray"]=>
* NULL
* }
*/
var_dump($validator->getMessages());
}
```

Bad components: Db\RecordExists, Db\NoRecordExists, Date, GreaterThan, Iban, Identical, InArray, Int, Ip, LessThan, Regex
This bug is also present in latest Zend Fremework 1