ZF-9032: Zend_Validate_Digits error text grammar can be improved

Issue Type: Improvement Created: 2010-01-31T19:36:56.000+0000 Last Updated: 2010-02-22T14:43:09.000+0000 Status: Resolved Fix version(s): - 1.10.2 (24/Feb/10)

Reporter: Wil Moore III (wilmoore) (wilmoore) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate

Related issues: Attachments: - ZF-9032.patch


The default text of Zend_Validate_Digits when validation isn't passed is the following:

* '500.00' contains not only digit characters

An improvement might be something like:

* '500.00' contains characters that are not digits; only digits are allowed


Posted by Wil Moore III (wilmoore) (wilmoore) on 2010-01-31T19:55:41.000+0000

Includes enhancement and associated tests verified with "phpunit --testdox".

Posted by Thomas Weidner (thomas) on 2010-02-20T14:34:27.000+0000

Implemented with r21118

Posted by Wil Moore III (wilmoore) (wilmoore) on 2010-02-20T18:52:18.000+0000

I've updated the patch against trunk as the english grammar was still a little odd. Please review.


Posted by Thomas Weidner (thomas) on 2010-02-22T14:43:08.000+0000

Fixed with r21136

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.