Commit graph

115 commits

Author SHA1 Message Date
Henrique Moody
4354652195
Merge branch '1.1' 2018-08-23 02:12:44 +02:00
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
Henrique Moody
5c598cdce2
Revert "Add link to support issues."
This reverts commit 62e1170a21.
2018-05-19 16:17:52 +02:00
Nick Lombard
62e1170a21
Add link to support issues.
Added link issues filtered by label support
2018-04-22 01:33:48 +02:00
Henrique Moody
9350d464ce
Update "Installation" document
Also remove duplication of supported PHP version.
2017-03-28 11:35:48 +02:00
Henrique Moody
00d300f762
Add changelog to rules' documentation
Also:
- Create documentation for `Base` rule;
- Increase number of rules
2017-03-28 11:22:58 +02:00
Henrique Moody
667f0fe989
Update documentation about supported PHP version 2017-03-14 10:00:48 +01:00
Henrique Moody
e708edd005
Rename rule "Numeric" to "NumericVal" 2016-11-06 18:45:44 +01:00
Henrique Moody
0512ff4866
Drop support for HHVM and PHP 5.6
Also make some improvements on .travis.yml file.
2016-11-05 13:20:07 +01:00
Henrique Moody
bc190e0eb0 Drop support for PHP <5.6 2016-05-06 11:12:56 +02: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
Henrique Moody
15ce71a578 On documentation, bump supported version to 5.4 2015-10-17 14:56:26 -03:00
Henrique Moody
c6dcba9fac Create "CHANGELOG.md" file 2015-10-07 02:56:23 -03:00
Henrique Moody
a0382f7af4 Update some files permissions
Some files were defined as executable but they should not be
2015-07-21 11:22:33 -03:00
Henrique Moody
75bf071ac9 Replace validators quantity on README.md 2015-07-20 17:37:53 -03:00
Henrique Moody
6dda44ce36 Add PHP and HHVM supported versions on docs 2015-02-26 18:01:48 -03:00
Henrique Moody
f2292312bc Add "CONCREATE_API.md" to repository
This file was create by Alexandre Gaigalas, I just add this to the
repository.
2015-02-12 15:07:10 -02:00
Henrique Moody
f422020d0e Update documentation 2015-02-12 14:37:33 -02:00
Henrique Moody
2914eba595 Merge pull request #176 from henriquemoody/namespace
Allow to define custom rule's namespaces/prefixes.
2015-02-11 12:43:59 -02:00
Henrique Moody
a4cb20810d Create a Factory to create rules
It also provide a way to define namespaces/prefixes to use the custom
rules on Respect\Validation.
2015-02-11 11:35:19 -02:00
Henrique Moody
d6855c0722 Improve date and time handling on "Max" rule 2015-02-11 11:18:39 -02:00
Henrique Moody
4c4c3d4c25 Create "Type" rule 2015-02-02 16:43:14 -02:00
Andy Wendt
ab65035181 Issue #260: Now using Respect\Validation exceptions only
* `ExceptionInterface`: all Respect\Validation\Exceptions implement through inheritance
* `ValidatorExceptionInterface`: implemented only by AllOfException.  This allows the end users to know when there has been a Validator exception rather than just any of our exceptions.

Fixed formatting issues

Created two new exception types

* Created ValidationExceptionInterface
* Created NestedValidationExceptionInterface which extends ValidationExceptionInterface
    * Renamed from ValidatorExceptionInterface

* ValidationException implements ValidationExceptionInterface and ValidationExceptionTest checks for the implementation.
* AbstractNestedException implements NestedValidationExceptionInterface and AbstractNestedExceptionTest checks for the implementation.

* CheckExceptionsTest now checks all Rule exceptions to make sure they implement ValidationExceptionInterface
* ValidatorTest now contains test that shows that only ValidationExceptionInterface can be used reliably with `::check()`

* Updated documentation for new exception types
* Reworked examples to show how to catch the exception interfaces

Minor changes in readme.md and ExceptionInterfaces

* Removed `import` statements (hahaha)
* Renamed `$e` to `$exception`

* `ValidationExceptionInterface` now extends `ExceptionInterface`.  Changed `ValidationException` to match
2015-01-31 07:59:59 -07:00
Henrique Moody
8c6390ed02 Update rules' documentations 2015-01-29 10:51:53 -02:00
Henrique Moody
74b41c74fa Update "README.md" file
- Fix wrong titles
- Remove deprecated validators
- Sort validators appendix alphabetically
- Update Markdown syntax for titles
- Update number of existing validators
2015-01-27 11:23:16 -02:00
Henrique Moody
e20ddce185 Create "Url" rule 2015-01-27 10:43:00 -02:00
Henrique Moody
a0e7e834fb Create "FilterVar" rule 2015-01-26 11:25:26 -02:00
Henrique Moody
27d1f8f7e8 Display badges from master branch only 2015-01-24 01:49:31 -02:00
Henrique Moody
81cfba9a6c Merge pull request #247 from henriquemoody/when
Allow to use `when()` rule without else
2015-01-23 02:53:21 -02:00
Henrique Moody
8b369fae97 Create "False" rule 2015-01-23 02:46:18 -02:00
Henrique Moody
dfcd4b2a20 Create "True" rule 2015-01-23 02:46:07 -02:00
Henrique Moody
35588c5340 Allow to use when() rule without else 2015-01-19 12:10:50 -02:00
Henrique Moody
b0816ab36f Remove unnecessary checkings on unit tests
Since we are using only composer as autoloader and we have all
dependencies on `require-dev` there is no need to check if third-party
libraries are present or not
2015-01-17 17:04:05 -02:00
Henrique Moody
95b5325c13 Fix wrong postalCode() documentation 2015-01-16 17:20:17 -02:00
Markus Malkusch
623a26235e Added bank(), bankAccount() and bic(). Currently only German. 2015-01-14 21:17:04 +01:00
Alexandre Gomes Gaigalas
97058a2c07 Changes in the README intro
- Added info about non-fluent API usage.
  - Changed feature bullet points and text.
2015-01-11 19:54:38 -02:00
Henrique Moody
f56806159c Use shilds of shields.io 2015-01-07 16:02:59 -02:00
Henrique Moody
2b97bbba22 Update PHPUnit settings
- Move "tests/phpunit.xml" to "phpunit.xml.dist"
- Update documentation and contributing documents
- Update Travis settings
- Add "phpunit.xml" in the Git ignore list
2015-01-07 16:02:58 -02:00
Henrique Moody
bfbfe8aced Remove PEAR support 2015-01-07 16:02:51 -02:00
Henrique Moody
b5d3ff63ee Create Yes/No rules 2015-01-06 20:46:16 -02:00
davidepastore
960732d26c Create HexRgbColor rule 2015-01-06 13:42:53 -02:00
Henrique Moody
df8f10f4ea Create PostalCode rule
Thanks @xthiago (Thiago Rodrigues) for the initial idea.
2015-01-02 18:56:34 -02:00
Henrique Moody
4b9411d6ba Fix typo in JSON rule documentation 2015-01-02 16:49:49 -02:00
Henrique Moody
0171f02c2c Merge pull request #207 from henriquemoody/Executable
Create Executable rule
2015-01-02 16:44:14 -02:00
Henrique Moody
fe4a93ddb0 Merge pull request #220 from CommandZ-io/master
Updated Domain and Mac Address docs.
2015-01-02 16:13:52 -02:00
Henrique Moody
6a5e414035 Merge pull request #218 from jarrettchisholm/master
Fixed v::min documentation
2015-01-02 16:10:14 -02:00
Henrique Moody
b8d804817f Merge pull request #221 from bmorg/typo-fix
Fixed a typo / missing word.
2015-01-02 16:09:42 -02:00
Ricardo Seromenho
14dce04865 Fix v::length $inclusive default on Readme #217 2014-12-29 00:31:06 +00:00
Bernhard Morgenstern
70a4d07f8c Fixed a typo / missing word. 2014-12-14 17:11:45 +01:00
Andy Wendt
9944ae8054 Updated Domain and Mac Address docs.
Domain validator incorrectly stated that an ip would validate.  See `Respect\Validation\Rules\DomainTest`

Added second valid Mac Address format demonstration using `-`.  See `Respect\Validation\Rules\MacAddressTest`
2014-12-13 16:56:50 -07:00