Commit graph

97 commits

Author SHA1 Message Date
Henrique Moody
52614d600d
Organize documentation for "Read the Docs"
The current documentation is hosted via GitHub pages rendered by
"Couscous". Every time we need a new version of the documentation
published we need to manually execute the "couscous".

This commit reorganize the documentation to be published to
"Read the Docs" because it will also allow us to have documentations per
version of the library most importantly provider a search field for the
documentation.

The documentation will be then published on:
https://respect-validation.readthedocs.io/

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2018-08-23 01:59:39 +02:00
Islam Elshobokshy
e70c201691
Make clear that "Alnum" rule accepts whitespaces
Co-authored-by: Henrique Moody <henriquemoody@gmail.com>
2018-07-01 14:27:41 +02:00
Henrique Moody
cb4fb83b3e
Revert "Elaborated API styles documentation"
This reverts commit eb2621fafe.
2018-05-19 16:17:57 +02:00
Henrique Moody
c6b6a4c425
Revert "Tested and fixed documentation"
This reverts commit 4357349ff0.
2018-05-19 16:17:47 +02:00
Nick Lombard
4357349ff0
Tested and fixed documentation
Fixed concrete and builder api documentation
2018-04-22 12:35:48 +02:00
Nick Lombard
eb2621fafe
Elaborated API styles documentation
Transferred documentation from issue #90 Dynamic chaining
2018-04-22 01:12:42 +02:00
Henrique Moody
cc179f9209 Merge branch '1.0' into 1.1 2016-08-03 10:53:00 +02:00
Henrique Moody
e5fdd87a16 Rename "Iterable" to "IterableType" 2016-08-03 10:43:33 +02:00
Henrique Moody
b8ecd59f48 Merge branch '1.0' into 1.1 2016-05-07 20:54:08 +02:00
Marcel Prince
6597aa5114 Add method Identical To Validator.php 2016-05-07 20:51:56 +02:00
Henrique Moody
2d3c0ceed8 Merge branch '1.0' into 1.1 2016-05-05 13:14:59 +02:00
Henrique Moody
62316fc8b9 Merge branch '0.9' into 1.0 2016-05-05 13:14:24 +02:00
Mohammad Amiri
1ce8ac8c7e Update FilterVar.md
Fixed a mistake in Url validation examples
2016-05-05 13:12:45 +02:00
Augusto Pascutti
9460a4c237 Ensure namespace separator on appended prefixes
Appending a prefix to search new rules under required that the namespace
(prefix) being added always ended with a trailing namespace character so
rules could successfully be found under it. This ensures that the
separator is always present.

Changes a test for a rule which does not implement Respect's interface
to an actual class so we don't need to declare one to use as a stub.
2016-04-23 21:20:54 -03:00
Henrique Moody
46541c7e46 Allow the define brands for credit card validation 2016-04-06 16:42:49 -03:00
Ruben Vermeersch
7a907e6795 Fix missing change from arr() to arrayVal() 2016-04-06 10:08:40 +02:00
Emmerson
f40eb63d7b Create "PhpLabel" rule 2016-03-04 21:48:25 -03:00
Samuel Heinzmann
ce3f885862 Create "Fibonacci" rule 2016-02-13 14:02:21 -02:00
Caio César Tavares
6d04b77762 Fix ExceptionInterface namespace. 2016-01-29 18:32:59 -02:00
Henrique Moody
c2eece6785 Create "IdentityCard" rule
Original-Author: Tomasz Regdos <tomek@regdos.com>.
2016-01-13 22:57:11 -02:00
Tomasz Regdos
b8da3a947b Create "Pesel" rule
Create validator for PESEL - Polish Human Identification Number.
2015-12-17 11:25:57 -02:00
Guilherme Siani
c828420438 Create "Image" rule 2015-12-14 10:14:26 -02:00
Henrique Moody
799228a6e0 Merge branch '1.0' 2015-11-25 18:05:51 -02:00
Henrique Moody
0c53645311 Better examples for PostalCode rule 2015-11-25 18:03:11 -02:00
Henrique Moody
e103a4ac88 Fix typo on the title 2015-11-13 13:18:29 -02:00
Henrique Moody
c8980d4fc0 Fix typo on the title 2015-11-13 13:07:19 -02:00
Emmerson
621b4707b5 Create "LanguageCode" rule 2015-10-26 23:12:21 -03:00
Henrique Moody
cd46545855 Small coding standards and docs improvements 2015-10-24 01:32:07 -02:00
Henrique Moody
474afaa2ec Remove "ValidationExceptionInterface" 2015-10-23 09:00:31 -02:00
Henrique Moody
67e072ebd3 Remove "NestedValidationExceptionInterface" 2015-10-23 09:00:18 -02:00
Diego Oliveira
70997912eb Create "Imei" rule 2015-10-23 07:53:59 -02:00
Henrique Moody
8c9c587597 Improvements and fixes on exceptions
There were some cases when the exceptions was not displayed property
when using nested exception, this commit fix the problem and also
display messages in Markdown list.
2015-10-22 03:01:41 -02:00
Emmerson
29bdb0a9f6 Create "BoolVal" rule 2015-10-21 01:35:05 -03:00
Henrique Moody
66027b85a5 Documentation improvements
- Add a space after comments with `//`;
- Add missing "See also" sections in some files
2015-10-19 22:55:05 -02:00
Guilherme Siani
1c254ab682 Refactor "ArrayVal" rule and add integration tests 2015-10-18 18:50:07 -02:00
João Torquato
f08a1fa9fc Create "ArrayType" rule 2015-10-18 18:01:11 -02:00
Guilherme Siani
767fcaaccf Create "Iterable" rule 2015-10-18 17:27:25 -02:00
Reginaldo Junior
7398588c56 Create "FloatType" rule 2015-10-18 16:57:49 -02:00
Justin Hook
4145faab39 Create "CurrencyCode" rule 2015-10-18 14:42:39 -02:00
João Torquato
a3694241f2 Create "Countable" rule 2015-10-18 11:37:50 -02:00
Henrique Moody
9c49dd3bcf Use short array syntax 2015-10-17 22:56:32 -03:00
Henrique Moody
15ce71a578 On documentation, bump supported version to 5.4 2015-10-17 14:56:26 -03:00
Guilherme Siani
36395378b6 Fix typo on "Alnum" docs 2015-10-17 13:24:16 -03:00
Henrique Moody
60568eac62 Create "IntType" rule 2015-10-16 23:43:01 -03:00
Ronald Drenth
8cab57052e Create "Bsn" rule 2015-10-16 22:19:33 +02:00
Henrique Moody
d53811f7b7 Remove user-defined optional values
Since we have NotOptional rule now, we must keep the same opposite
behaviour between these two rules.

This commit also improve and increase tests from Optional rule and
updates the documentation.

No tests was made for messages on MODE_DEFAULT because it's not possible
for a while since we don't have such much granularity control, but after
some fixes on Not rule, maybe we will be able to do that, that's why I
kept the messages on OptionalException.
2015-10-15 11:14:20 -03:00
Henrique Moody
15b0a937b2 Create "NotOptional" rule 2015-10-15 10:36:48 -03:00
Henrique Moody
62761ffe18 Make all rules inclusive by default 2015-10-14 13:10:20 -03:00
Henrique Moody
bbf9c2505e Remove all rules shortcuts 2015-10-14 13:06:36 -03:00
Henrique Moody
880cdb5f09 Create "NotBlank" rule 2015-10-14 01:05:42 -03:00