thekid/rfc — Issue #53: RFC 0031: Replace IntegerRangeChecker with NumberRangeChecker 
Author: thekid
Created: 2011-10-09 14:19:26+00:00
State: open
Labels: rfc

Scope of Change
====
The IntegerRangeChecker class will be deprecated. Its functionality will
be implemented in a new class, NumberRangeChecker.

Rationale
====
The IntegerRangeChecker can basically also check floats, whereas the name
suggests otherwise. Implemeting a FloatRangeChecker would simply be a
copy of the IntegerRangeChecker class - duplicated code.

Functionality
====
* Create a new class, NumberRangeChecker.class.php
* Copy IntegerRangeChecker.class.php's contents to it
* Change class name
* Change apidoc
* svn add
* svn commit

Security considerations
====
n/a

Speed impact
====
n/a

Dependencies
====
n/a

Related documents
====
n/a

Comments
====
- friebe, Mon Jul 18 09:52:00 CEST 2005
Maybe RangeChecker is a better name?

- friebe, Sat May 26 13:55:07 2007
Staying with NumberRangeChecker