440 Commits

Author SHA1 Message Date
Tom Breese
4b60befc61 usage-docs; updating arrays to php 5.3 compatible syntax 2018-10-13 13:24:43 -04:00
Tom Breese
ac5148995e usage-docs; adding dot notation usage 2018-10-13 13:06:00 -04:00
Tom Breese
ad4ab08443 usage-docs; adding dot notation usage 2018-10-13 13:04:12 -04:00
Tom Breese
d3171b8872 Adding examples for regular and alternate syntax to docs 2018-10-13 12:57:50 -04:00
Willem Wollebrants
e3b3eb31a2
Merge pull request #222 from misantron/validators-patch
Array subset and uniqueElements validators
2018-09-23 21:46:36 +02:00
misantron
ee2ed6c3b9 Change validation rule to 'subset', document and translation fixes 2018-09-23 00:53:19 +03:00
misantron
873c996db0 Fix .gitignore: remove duplicated row 2018-09-22 17:52:25 +03:00
misantron
c52612f86c Tests code style fixes 2018-09-22 17:00:34 +03:00
misantron
f70e27af56 Merge remote master branch 2018-09-22 16:35:15 +03:00
Vance Lucas
14702f00d3
Merge pull request #261 from rauwebieten/master
ipv4, ipv6 and ascii rules
2018-09-11 11:59:23 -05:00
Willem Wollebrants
b6e9079d16
Merge pull request #263 from vlucas/iss262
Filter out non-required array parts.
2018-08-24 09:27:16 +02:00
Willem Wollebrants
aaf543517d filter out non-required array parts. Fixes #262 2018-08-22 12:54:14 +02:00
Willem Wollebrants
c5a1664dab ignore PhpStorm project settings 2018-08-22 12:53:17 +02:00
peterkinamo
46ccdf1ace ascii, ipv4 and ipv6 rules added to README.md 2018-08-03 13:38:39 +02:00
peterkinamo
e5ae2c9a5f ipv4 and ipv6 rule and tests added 2018-08-03 13:02:21 +02:00
peterkinamo
971da213a3 Ascii rule added
Ascii unit test added
2018-08-03 12:28:23 +02:00
Willem Wollebrants
3511ad84af
Merge pull request #256 from vlucas/iss255
Better PHPDoc:
fix incorrect phpdoc for callable
add phpdoc for callable where needed
2018-06-27 09:23:19 +02:00
Willem Wollebrants
fcaa1d5d52 make phpdoc more specific for parameter in Validator::addInstanceRule and Validator::addRule, both need a callable 2018-06-25 22:18:19 +02:00
Willem Wollebrants
3908f086e0 fix incorrect phpdoc for callable 2018-06-25 22:15:31 +02:00
Willem Wollebrants
3c5463315b
Merge pull request #246 from peter279k/test_enhancement
Test enhancement
v1.4.3
2018-05-06 12:45:26 +02:00
misantron
c4be38862b Validation fixes 2018-04-20 21:00:34 +03:00
peter279k
9ec218f031 Fix count() countable error message in php7.2 2018-04-14 16:56:19 +08:00
peter279k
7c1175134d Fix include setting space 2018-04-14 16:48:59 +08:00
peter279k
631c8feb36 Use composer test in Travis build script 2018-04-14 16:44:21 +08:00
peter279k
7e735e17ea Test enhancement 2018-04-14 16:37:51 +08:00
Willem Wollebrants
4c9ea18a65
Merge pull request #244 from hided62/add-korean
Adds Korean translation
2018-04-09 09:33:49 +02:00
hide_d
802c4406b3 Fix grammatical mistakes 2018-03-30 22:39:45 +09:00
hide_d
b54a25f7a9 Added Korean 2018-03-30 22:33:10 +09:00
Willem Wollebrants
b6589e85ea
Strict integer rule
Fixed strict integer rule and added more integer unit tests
2018-03-29 20:57:51 +02:00
Willem Wollebrants
c56bf573f2
Merge pull request #241 from realjay007/stop-on-first-fail
Added option to stop validation when a rule is failed
2018-03-08 16:48:01 +01:00
misantron
48dcdc7248 Merge remote-tracking branch 'remotes/upstream/master' into validators-patch 2018-03-05 22:21:09 +03:00
Julius Ijie
4103c8bd40 Forced stopOnFirstFail parameter to bool 2018-02-23 15:59:30 +01:00
Julius Ijie
8636fed8f5 Removed boolean type declaration only available on PHP7 2018-02-23 15:55:45 +01:00
Julius Ijie
6837c9dfab Added option to stop validation when a rule is failed 2018-02-23 15:25:35 +01:00
Vance Lucas
4b32e6067a
Update composer license SPDX 2018-02-10 16:02:11 -06:00
Willem Wollebrants
013672dfce
Merge pull request #231 from piotr-cz/patch-1
Fix typo in docblock
2018-02-10 14:08:48 +01:00
Willem Wollebrants
59f04de714
Merge pull request #238 from thinkjson/master
Documentation: numeric array validation example
2018-02-10 14:08:25 +01:00
Willem Wollebrants
241c456e37
Merge pull request #239 from dgvirtual/master
Translation to Lithuanian
2018-02-10 14:07:24 +01:00
Willem Wollebrants
8abb9b7220
Merge pull request #237 from mangopeaches/nested-equals-different
added nested array support for validateEquals and validateDifferent
2018-02-07 17:35:13 +01:00
Donatas Glodenis
fb8f89a519
Translation to Lithuanian 2018-02-07 15:33:59 +00:00
Tom Breese
19a1e123bd updating tests for 5.3 compatible arrays 2018-02-06 23:10:20 -05:00
Tom Breese
32dec57f69 adding nested different both unser required test 2018-02-06 23:05:25 -05:00
Tom Breese
06d1740c32 adding tests for nulls/not set values for nested and not nested equals and different methods 2018-02-06 23:02:03 -05:00
Willem Wollebrants
ef412d1160
Merge pull request #232 from jabarihunt/improved-email-validator
Add emailDNS validator
2018-02-06 08:34:20 +01:00
Mark Cahill
fd1b55ad21 Fulfilling documentation request for numeric array validation 2018-02-05 07:15:00 -05:00
Tom Breese
7c94b2ae5a added support for nested arrays in validateEquals and validateDifferent validation methods 2018-02-04 13:24:47 -05:00
Jabari Hunt
11dc3a7850
Merge pull request #1 from willemwollebrants/improved-email-validator
Improved email validator
2018-01-31 10:30:06 -06:00
Willem Wollebrants
f8e69683af add emailDNS validator to documentation 2018-01-31 16:20:58 +01:00
Willem Wollebrants
7dcc8a5089 add test for new emailDNS validator 2018-01-31 16:19:05 +01:00
Jabari
8603b2bec3 Added idn_to_ascii() with a check to make sure the function itself exists as well as a check for a required constant that it needs to function. 2018-01-05 22:28:47 -06:00