Chris Van Patten
3ee508987e
Pass $this->_fields to callbacks defined in addRule
2016-01-05 09:48:23 -05:00
Vance Lucas
d2b63c6119
Add 'composer test' as a run script
v1.2.4
2015-12-15 14:10:29 -06:00
Vance Lucas
46acc7aa56
Merge pull request #141 from yeesoft/master
...
Adds Ukrainian language
2015-12-07 18:33:00 -06:00
YeeSoft
94048a95d5
Adds Ukrainian language
2015-12-04 20:31:29 +02:00
Vance Lucas
a06309ce75
Merge pull request #137 from zonuexe/feature/deny_array
...
type check
2015-11-24 11:20:47 -06:00
USAMI Kenta
96221ea4d3
Add type check for between comparison
...
Return 0 if $value is not numeric value
2015-11-20 16:57:15 +09:00
USAMI Kenta
28254e76c2
Add type check for stringLength
...
Return 0 if $value is not string
2015-11-20 16:55:56 +09:00
USAMI Kenta
29c7d35db6
Add test code for Validator::error()
2015-11-20 16:55:56 +09:00
Vance Lucas
3ab56a285d
Merge pull request #135 from laverboy/patch-1
...
made length message more accurate fixes #127
2015-11-09 13:55:45 -06:00
Matthew Laver
8bc6de6b9e
made length message more accurate fixes #127
2015-11-09 12:50:36 +00:00
Vance Lucas
8cfa3bd932
Merge pull request #133 from veganista/translation/ro
...
Adds Romanian language
2015-10-20 21:43:17 -05:00
Vance Lucas
9f9701833c
Merge pull request #134 from veganista/translation/pl
...
Adds Polish language
2015-10-09 22:03:31 -05:00
Liam Linacre
f6a3e9d452
Adds Romanian language
2015-10-08 11:21:28 +01:00
Liam Linacre
afc87e8742
Adds Polish language
2015-10-08 11:19:51 +01:00
Vance Lucas
af596cd252
Merge pull request #131 from nadeka/finnish-translation
...
Add Finnish language
2015-09-21 15:16:23 -05:00
Anni
dae823a2c4
Add Finnish language
2015-09-19 03:03:36 +03:00
Vance Lucas
12edc5ab0b
Merge pull request #130 from adia/patch-1
...
validateUrlActive(): check host part of URL for correct DNS records
2015-09-17 09:22:59 -05:00
Alexandros Diamantidis
919005c0f8
Fix validateUrlActive() to check host part of URL for correct DNS records
...
validateUrlActive() calls checkdnsrr() which by default looks only for MX records, and passes the whole tail part of the URL after the prefix. It should isolate the host and check for A, AAAA or CNAME DNS records.
2015-09-17 13:32:20 +03:00
Vance Lucas
3681b9b76a
Merge pull request #129 from salipro4ever/master
...
add Vietnam language
2015-08-31 13:49:12 -05:00
salipro4ever
5a5510254b
Create vi.php
2015-08-28 14:14:41 +07:00
Vance Lucas
3f4829cf64
Don't tearDown twice
2015-08-06 18:49:27 -05:00
Vance Lucas
7bdc57b9c4
Fix failing urlActive test due to checkdnsrr
2015-08-06 18:47:39 -05:00
Vance Lucas
81e1b52ff0
Merge pull request #128 from popiazaza/master
...
Add Thai language
2015-07-29 11:17:52 -05:00
popiazaza
70356100c3
Add Thai language
2015-07-29 19:46:45 +07:00
Vance Lucas
d09596881b
Merge pull request #117 from hiroy/update-lang-ja
...
Update lang/ja.php for the rule of "instanceOf"
2014-12-27 10:32:29 -06:00
Hiroyuki Yamaoka
86fe347940
Update lang/ja.php for the rule of "instanceOf"
2014-12-27 15:16:52 +09:00
Vance Lucas
c7342e025a
Fix #115 strict flag for in_array
v1.2.3
2014-11-20 09:24:40 -06:00
Vance Lucas
bd0f6868c8
Merge pull request #114 from cguroo/patch-1
...
Add optional "strict" check for "in" validator that uses "in_array()"
2014-11-19 09:12:34 -06:00
cguroo
eb12058860
Update Validator.php
...
Hi, I have added a strict flag as an argument since anyone who wishes a strict comparison shall have the option, and btw in_array without strict is sort of "useless" in most cases, IMHO.
heres why i say so.
http://php.net/manual/en/function.in-array.php#106319
2014-11-19 12:09:20 +05:30
Vance Lucas
e83cd2934c
Language typo
2014-11-14 15:37:19 -06:00
Vance Lucas
0b2ebb9397
Merge pull request #112 from jmalinens/master
...
Latvian language translation fix
2014-10-27 10:06:43 -05:00
Juris Malinens
9304abb356
Latvian language translation fix
2014-10-27 14:59:58 +02:00
Vance Lucas
decdb01a8d
Merge pull request #109 from GrahamCampbell/patch-1
...
Fixed the phpunit version constraint
2014-10-13 15:51:14 -05:00
Graham Campbell
9a5988822d
Fixed the phpunit version constraint
2014-10-13 19:55:52 +01:00
Vance Lucas
f7c11ca0ab
Merge pull request #107 from vandarin/checkAndSetLabel
...
Check and set label
2014-09-19 09:06:20 -05:00
Lane Roberts
282f4a6ac3
PHP 5.3 compatibility in array syntax
2014-09-18 11:32:30 -05:00
Lane Roberts
f8f1c0061b
Fix 'Illegal offset type in isset or empty' warning when a param is an object.
...
Params can be any data type, but keys can only be integers or strings.
2014-09-18 11:08:28 -05:00
Lane Roberts
8f364b89a8
Add test to exhibit error behavior
2014-09-18 11:08:28 -05:00
Vance Lucas
2e8453be81
Merge pull request #105 from thinkjson/foreach-discrete
...
Validate an array of discrete values
v1.2.2
2014-09-08 14:55:11 -05:00
Mark Cahill
ec0543be10
Tests for associative arrays
2014-09-08 15:07:49 -04:00
Mark Cahill
eace42656a
Validate an array of discrete values
2014-09-08 12:34:46 -04:00
Vance Lucas
d71a928c60
Let composer manage version
v1.2.1
2014-09-08 11:12:33 -05:00
Vance Lucas
6d78b00334
PSR-2 formatting and small updates
v1.2.0
2014-09-08 11:10:41 -05:00
Vance Lucas
5d26fca5e5
Merge pull request #104 from thinkjson/array-validation
...
Validation of nested arrays, closes #8
2014-09-08 11:06:07 -05:00
Mark Cahill
c197b10891
Validation of nested arrays, closes #8
2014-09-08 10:40:53 -04:00
Vance Lucas
8b16a8a962
Merge pull request #102 from grrnikos/greek-lang
...
add greek translation
2014-09-02 09:21:48 -05:00
Nikos Gr
88b87344b6
add greek translation
2014-08-31 23:19:26 +03:00
Vance Lucas
688083a6d1
Merge pull request #99 from fdipilla/master
...
Fixed some translation issues
2014-08-26 10:35:51 -05:00
fdipilla
f462f76a7d
Fixed sintax error
2014-08-26 09:24:29 -03:00
fdipilla
53fe0abd7d
Fixed some translation issues
...
Added some orthographic accents
2014-08-26 09:22:52 -03:00