Henrique Moody
9fa5f7c6a4
Update year from LICENSE file
2015-01-08 00:44:13 -02:00
Henrique Moody
30ed4537a9
Update docblocks on Validator class
2015-01-08 00:44:13 -02:00
Henrique Moody
da193b75e0
Use PSR-2 standard
...
Most changes was made by php-cs-fixer.
Also removes unused `RecursiveTreeIterator` class.
2015-01-08 00:44:12 -02:00
Henrique Moody
018c3fe63d
Merge pull request #236 from henriquemoody/cleanups
...
Cleanups
2015-01-07 16:11:44 -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
ea7b787953
Update "composer.json" file
...
Remove unecessary directives and updated dependencies versions.
2015-01-07 16:02:58 -02:00
Henrique Moody
2ba06b07a5
Remove Makefile from repository
...
The use of Respect\Foundation should be optional and not a dependency.
Since the "Makefile" is not part of the Respect\Validation library, I
see no point on keeping it into the repository but I add "Makefile" to
.gitignore list to allow people to use it.
Other related files/directories must in included into the global ignore
list.
2015-01-07 16:02:57 -02:00
Henrique Moody
f6fc5d27c8
Remove unecessary settings from ".gitignore"
...
Files and directories related to the developer environment must be
included into the global Git ignore list.
2015-01-07 16:02:57 -02:00
Henrique Moody
bfbfe8aced
Remove PEAR support
2015-01-07 16:02:51 -02:00
Henrique Moody
e1b10c808c
Merge pull request #234 from henriquemoody/yes_no
...
Create Yes/No rules
2015-01-06 21:28:09 -02:00
Henrique Moody
b5d3ff63ee
Create Yes/No rules
2015-01-06 20:46:16 -02:00
Henrique Moody
e8082dfa57
Manual merge pull request #198
...
Create HexRgbColor rule
2015-01-06 13:53:21 -02:00
davidepastore
960732d26c
Create HexRgbColor rule
2015-01-06 13:42:53 -02:00
Henrique Moody
b35784e2cf
Merge pull request #232 from henriquemoody/setName
...
Always define names for children in composite rules
2015-01-05 12:51:27 -02:00
Henrique Moody
3e89ee385f
Always define names for children in composite rules
2015-01-05 12:47:32 -02:00
Henrique Moody
ba064eb400
Merge pull request #231 from henriquemoody/setName
...
Define names for children in composite rules
2015-01-03 14:40:28 -02:00
Henrique Moody
e836b22210
Define names for children in composite rules
2015-01-03 14:18:20 -02:00
Henrique Moody
a975df50a1
Merge pull request #230 from henriquemoody/pr/158
...
Allow support for IDN with subdomains
2015-01-03 12:34:00 -02:00
Róbert Nagy
14d65f47ea
Allow support for IDN with subdomains
...
I just moved the IDN rule from checks array to otherParts validation,
because the old approach did not supported an IDN with subdomain.
2015-01-03 12:29:52 -02:00
Henrique Moody
b1e4a5458e
Merge pull request #229 from henriquemoody/docblocks
...
Static declaration for rules in Validator class
2015-01-02 20:15:56 -02:00
Henrique Moody
d09c3b0b00
Static declaration for rules in Validator class
2015-01-02 20:12:25 -02:00
Henrique Moody
065240f47a
Merge pull request #228 from henriquemoody/build-settings
...
Improve CI settings
2015-01-02 19:33:07 -02:00
Henrique Moody
9f0ee5cfbd
Improve CI settings
2015-01-02 19:25:30 -02:00
Henrique Moody
0ffd74f7bb
Merge pull request #183 from henriquemoody/callback
...
Allow to define arguments of callback
2015-01-02 19:18:25 -02:00
Henrique Moody
02b9417473
Merge pull request #226 from henriquemoody/postalcode
...
Create PostalCode rule
2015-01-02 19:08:55 -02:00
Henrique Moody
0c7f1d3367
Merge pull request #227 from henriquemoody/contributing
...
Add CONTRIBUTING.md to the repository
2015-01-02 19:05:53 -02:00
Henrique Moody
5778853934
Add CONTRIBUTING.md to the repository
2015-01-02 19:05:23 -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
730ea9472c
Merge pull request #224 from henriquemoody/exceptions
...
Add missing exceptions
2015-01-02 17:29:01 -02:00
Henrique Moody
2cfc96003d
Add missing exceptions
...
Also creates a test to check it every rule has an exception.
2015-01-02 17:25:01 -02:00
Henrique Moody
019446c558
Merge pull request #223 from henriquemoody/documentation
...
Fix typo in JSON rule documentation
2015-01-02 16:50:44 -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
0700321884
Merge pull request #214 from romeOz/fixed-const
...
Fixed const `Respect\Validation\Exceptions::IDENTICAL`.
2015-01-02 16:11:27 -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
Henrique Moody
ea3ce8f840
Merge pull request #222 from seromenho/master
...
Fix v::length $inclusive default on Readme #217
2015-01-02 16:09:17 -02:00
Henrique Moody
6f35c5f2e5
Merge pull request #215 from henriquemoody/build-settings
...
Update CI settings
2015-01-02 16:02:44 -02:00
Henrique Moody
4993bd61c1
Update CI settings
...
- Allow `code_rating` check on Scrutinizer
- Exclude tests/* and vendor/* from Scrutinizer paths
- Fix Travis error when running composer
- Run `php_analyzer` on Scrutinizer
- Run `php_mess_detector` on Scrutinizer
- Run PHPUnit on Travis without using Foundation
- Run tests coverage on Scrutinizer
2015-01-02 15:58:46 -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
Jarrett Chisholm
0b3d7c4b9d
- fixed links
...
- added 2 more v::max() examples
2014-12-04 14:38:23 -05:00
Jarrett Chisholm
564922e6eb
- fixed min/max documentation
2014-12-04 14:35:36 -05:00
Henrique Moody
e2950e6a51
Create Executable rule
2014-11-10 16:36:12 -02:00
Henrique Moody
64d069fd5b
Allow to define arguments of callback
2014-11-10 16:34:08 -02:00
romeo
2ee85d801b
Fixed test.
2014-10-17 22:22:12 +04:00
romeo
e5deb5f72a
Added test PR #214 .
2014-10-17 22:09:25 +04:00