Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/45'
Browse files Browse the repository at this point in the history
Close #45
  • Loading branch information
weierophinney committed Feb 17, 2016
2 parents a54da9a + 269a57a commit 4423cd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ All notable changes to this project will be documented in this file, in reverse

- [#44](https://github.com/zendframework/zend-validator/pull/44) corrects the
grammar on the `NOT_GREATER_INCLUSIVE` validation error message.
- [#45](https://github.com/zendframework/zend-validator/pull/45) adds normalized
aliases for the i18n isfloat/isint validators.

## 2.5.3 - 2015-09-03

Expand Down
6 changes: 4 additions & 2 deletions src/ValidatorPluginManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ class ValidatorPluginManager extends AbstractPluginManager
* @var array
*/
protected $aliases = [
'Zend\I18n\Validator\Float'=> 'Zend\I18n\Validator\IsFloat',
'Zend\I18n\Validator\Int' => 'Zend\I18n\Validator\IsInt',
'Zend\I18n\Validator\Float' => 'isfloat',
'Zend\I18n\Validator\Int' => 'isint',
'zendi18nvalidatorfloat' => 'isfloat',
'zendi18nvalidatorint' => 'isint',
];

/**
Expand Down

0 comments on commit 4423cd9

Please sign in to comment.