From cc9aa50837828f06d39598c7f2504a7940af0dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Bru=CC=88ckner?= Date: Thu, 13 Dec 2018 22:26:35 +0100 Subject: [PATCH 1/3] Fixes list indention in barcode validator documetation --- doc/book/validators/barcode.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/book/validators/barcode.md b/doc/book/validators/barcode.md index 0a3c20044..26644a654 100644 --- a/doc/book/validators/barcode.md +++ b/doc/book/validators/barcode.md @@ -311,12 +311,12 @@ your own barcode validator, you need the following information. - `Length`: The length your barcode must have. It can have one of the following values: - - `Integer`: A value greater 0, which means that the barcode must have this - length. - - `-1`: There is no limitation for the length of this barcode. - - `"even"`: The length of this barcode must have a even amount of digits. - - `"odd"`: The length of this barcode must have a odd amount of digits. - - `array`: An array of integer values. The length of this barcode must have + - `Integer`: A value greater 0, which means that the barcode must have this + length. + - `-1`: There is no limitation for the length of this barcode. + - `"even"`: The length of this barcode must have a even amount of digits. + - `"odd"`: The length of this barcode must have a odd amount of digits. + - `array`: An array of integer values. The length of this barcode must have one of the set array values. - `Characters`: A string which contains all allowed characters for this barcode. Also the integer value 128 is allowed, which means the first 128 characters of From 0d7189696e076ced15fe926e3d17e05c6570cae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Bru=CC=88ckner?= Date: Thu, 13 Dec 2018 22:27:02 +0100 Subject: [PATCH 2/3] Fixes list indention in email-address validator documetation --- doc/book/validators/email-address.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/book/validators/email-address.md b/doc/book/validators/email-address.md index 97b71917a..7d615c454 100644 --- a/doc/book/validators/email-address.md +++ b/doc/book/validators/email-address.md @@ -34,11 +34,11 @@ using `setOptions()`. The following options are supported: in conjunction with the hostnameValidator option to set the hostname validator. Possible values of this option defined in [Hostname](hostname.md) validator's `ALLOW_*` constants: - - `ALLOW_DNS` (default) - Allows Internet domain names _(e.g. example.com)_ - - `ALLOW_IP` - Allows IP addresses _(e.g. 192.168.0.1)_ - - `ALLOW_LOCAL` - Allows local network such as _localhost_ or _www.localdomain_ - - `ALLOW_URI` - Allows hostnames in URI generic syntax. See [RFC 3986](https://www.ietf.org/rfc/rfc3986.txt) - - `ALLOW_ALL` - Allows all types of hostnames + - `ALLOW_DNS` (default) - Allows Internet domain names _(e.g. example.com)_ + - `ALLOW_IP` - Allows IP addresses _(e.g. 192.168.0.1)_ + - `ALLOW_LOCAL` - Allows local network such as _localhost_ or _www.localdomain_ + - `ALLOW_URI` - Allows hostnames in URI generic syntax. See [RFC 3986](https://www.ietf.org/rfc/rfc3986.txt) + - `ALLOW_ALL` - Allows all types of hostnames - `useDeepMxCheck`: Defines if the servers MX records should be verified by a deep check. When this option is set to `true` then additionally to MX records also the `A`, From 2db02d6249a94016f8a710861e5e7e5900fb7f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Bru=CC=88ckner?= Date: Thu, 13 Dec 2018 22:27:45 +0100 Subject: [PATCH 3/3] Removes wrong whitespace in isbn validator documentation --- doc/book/validators/isbn.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/book/validators/isbn.md b/doc/book/validators/isbn.md index 720742cf4..635e24b3e 100644 --- a/doc/book/validators/isbn.md +++ b/doc/book/validators/isbn.md @@ -52,9 +52,9 @@ The above will validate only ISBN-13 values. Valid types include: -- `Zend\Validator\Isbn::AUTO` (default) -- `Zend\Validator\Isbn::ISBN10` -- `Zend\Validator\Isbn::ISBN13` +- `Zend\Validator\Isbn::AUTO` (default) +- `Zend\Validator\Isbn::ISBN10` +- `Zend\Validator\Isbn::ISBN13` ## Specifying a separator restriction