respect-validation/docs/rules
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
..
AllOf.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Alnum.md Use variadics "AbstractFilterRule" rule 2018-10-15 09:41:01 +02:00
Alpha.md Use variadics "AbstractFilterRule" rule 2018-10-15 09:41:01 +02:00
AlwaysInvalid.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
AlwaysValid.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
AnyOf.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
ArrayType.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
ArrayVal.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Attribute.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Base.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Base64.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Between.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
BoolType.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
BoolVal.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Bsn.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Call.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
CallableType.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Callback.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Charset.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Cnh.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Cnpj.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Cntrl.md Use variadics "AbstractFilterRule" rule 2018-10-15 09:41:01 +02:00
ComparableValues.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Consonant.md Use variadics "AbstractFilterRule" rule 2018-10-15 09:41:01 +02:00
Contains.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Countable.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
CountryCode.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Cpf.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
CreditCard.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
CurrencyCode.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Date.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
DateTime.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Digit.md Use variadics "AbstractFilterRule" rule 2018-10-15 09:41:01 +02:00
Directory.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Domain.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Each.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Email.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
EndsWith.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Equals.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Equivalent.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Even.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Executable.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Exists.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Extension.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Factor.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
FalseVal.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Fibonacci.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
File.md Apply contribution guidelines to "File" rule 2018-10-03 00:04:39 +02:00
FilterVar.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Finite.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
FloatType.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
FloatVal.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Graph.md Use variadics "AbstractFilterRule" rule 2018-10-15 09:41:01 +02:00
GreaterThan.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
HexRgbColor.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Identical.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
IdentityCard.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Image.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Imei.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
In.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Infinite.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Instance.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
IntType.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
IntVal.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Ip.md Improve code and documentation of "Ip" rule 2018-12-07 23:32:40 +01:00
Isbn.md Create "Isbn" rule 2018-10-02 17:32:08 +02:00
IterableType.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Json.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Key.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
KeyNested.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
KeySet.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
KeyValue.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
LanguageCode.md Apply contribution guidelines to "LanguageCode" rule 2018-11-25 13:27:06 +01:00
LeapDate.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
LeapYear.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Length.md Apply contribution guidelines to "Length" rule 2018-09-06 08:41:11 +02:00
LessThan.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Lowercase.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Luhn.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
MacAddress.md Apply contribution guidelines to "MacAddress" rule 2018-09-16 18:26:51 +02:00
Max.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
MaxAge.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Mimetype.md Apply contribution guidelines to "Mimetype" rule 2018-09-16 18:15:57 +02:00
Min.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
MinAge.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Multiple.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Negative.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
NfeAccessKey.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Nif.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
No.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
NoneOf.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Not.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
NotBlank.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
NotEmpty.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
NotOptional.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
NoWhitespace.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Nullable.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
NullType.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Number.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
NumericVal.md Apply contribution guidelines to "NumericVal" rule 2018-09-06 08:41:11 +02:00
ObjectType.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Odd.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
OneOf.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Optional.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
PerfectSquare.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Pesel.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Phone.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
PhpLabel.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Pis.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Positive.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
PostalCode.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
PrimeNumber.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Printable.md Use variadics "AbstractFilterRule" rule 2018-10-15 09:41:01 +02:00
Punct.md Use variadics "AbstractFilterRule" rule 2018-10-15 09:41:01 +02:00
Readable.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Regex.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
ResourceType.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Roman.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
ScalarVal.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Sf.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Size.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Slug.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Sorted.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Space.md Use variadics "AbstractFilterRule" rule 2018-10-15 09:41:01 +02:00
StartsWith.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
StringType.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
StringVal.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
SubdivisionCode.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Subset.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
SymbolicLink.md Apply contribution guidelines to "SymbolicLink" rule 2018-12-06 20:56:51 +01:00
Time.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Tld.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
TrueVal.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Type.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Unique.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Uploaded.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Uppercase.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Url.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Uuid.md Add support for specific versions of UUID 2018-10-12 11:37:42 +02:00
Vatin.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Version.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
VideoUrl.md Apply contribution guidelines to "VideoUrl" rule 2018-10-26 00:00:45 +02:00
Vowel.md Use variadics "AbstractFilterRule" rule 2018-10-15 09:41:01 +02:00
When.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Writable.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00
Xdigit.md Use variadics "AbstractFilterRule" rule 2018-10-15 09:41:01 +02:00
Yes.md Remove unnecessary inheritance from "Yes" rule 2018-09-16 19:40:48 +02:00
Zend.md Merge branch '1.1' 2018-08-23 02:12:44 +02:00