respect-validation/library
Henrique Moody bd63f65c91
Improve code and documentation of "Ip" rule
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>
2018-12-07 23:32:40 +01:00
..
Exceptions Improve code and documentation of "Ip" rule 2018-12-07 23:32:40 +01:00
Helpers Use a more consisten names for traits 2018-12-06 21:21:42 +01:00
Rules Improve code and documentation of "Ip" rule 2018-12-07 23:32:40 +01:00
Factory.php Fix "@author" annotations 2018-11-25 18:04:59 +01:00
Validatable.php Add missing "@author" annotations 2018-11-25 18:08:44 +01:00
Validator.php Improve code and documentation of "Ip" rule 2018-12-07 23:32:40 +01:00