mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 02:30:06 +02:00
This commit will do many different things, but they are all improvements to the "Ip" rules: * Remove passing variables by reference: the "Ip" class uses that a lot to define the start address, end address, and the mask used to validate a network range; * Remove double-typed argument from the constructor: the class "Ip" class has only one argument that can be either a string with the range of the IP or an integer with options for the "filter_var()" function. This commit will split it into two different arguments, each of them used for one of this functionalities; * Update documentation to show how to validate IPv6. Signed-off-by: Henrique Moody <henriquemoody@gmail.com> |
||
---|---|---|
.. | ||
fixtures | ||
integration | ||
library | ||
unit |