382 Commits

Author SHA1 Message Date
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
Vance Lucas
db99d1dfd7 Merge pull request #98 from JustinHook/travis-php-versions
Add PHP 5.5, 5.6 and HHVM to travis config
2014-08-25 11:33:26 -05:00
Justin Hook
f20d64dbcb Add PHP 5.5, 5.6 and HHVM to travis config 2014-08-24 22:39:21 +01:00
Vance Lucas
517c8e3007 Merge pull request #95 from ry167/patch-1
syntax fix.
2014-08-12 08:28:33 -05:00
Ryan H
8b1c4f7209 syntax fix.
Missing comma after lengthMax
2014-08-12 23:48:28 +12:00
Vance Lucas
d855c53f94 Merge pull request #91 from ecoreng/filter-refactor
refactor to avoid foreach when filtering
2014-08-01 09:34:28 -05:00
Elias Coronado
9d26648233 typo fix 2014-07-31 23:27:11 -07:00
ecoreng
85e353604a added instanceOf to spanish language 2014-07-31 23:24:48 -07:00
ecoreng
bd09c30efc refactor to avoid foreach when filtering 2014-07-31 22:55:20 -07:00
Vance Lucas
6d36b12f76 Merge pull request #85 from Typeform/master
Add instanceOf to rules in readme.md
2014-07-29 13:00:00 -05:00
Victor Bjelkholm
9d90b08813 Show instance name in instanceOf error message 2014-07-29 16:39:14 +02:00
Vance Lucas
40796c2acd Merge pull request #88 from JustinHook/invalid-dateformat
Fixes #64. Updated validateDateFormat
2014-07-28 10:11:27 -05:00
Justin Hook
9b5b0cff77 Fixes #64. Updated validateDateFormat to use warning_count for validation check 2014-07-26 15:47:50 +01:00
Vance Lucas
e3c24cbf21 Merge pull request #86 from geoffs3310/master
Update en.php
2014-07-18 11:21:26 -05:00
geoffs3310
93ecbcf211 Update en.php
Changed the error messages for min and max. If I set a min value of 1 the error message says the value has to be greater than 1 - changed the error message to say the value must be at least 1. If I set a max value of 10 the error message says the value has to be less than 10 - changed the error message to say the value must be no more than 10.
2014-07-18 16:36:07 +01:00
Victor Bjelkholm
6f5dad8745 Update en.php to include instanceOf 2014-07-14 23:27:57 +02:00
Victor Bjelkholm
60bb8f0287 Add instanceOf to rules in readme.md 2014-07-14 19:35:35 +02:00
Vance Lucas
839cad4284 Merge pull request #84 from Typeform/master
Add PHPUnit as development require, instanceOf validation and date allows DateTime object
2014-07-14 08:52:50 -05:00
Victor Bjelkholm
8aa6ad1c5d Allow date to be DateTime object 2014-07-14 14:02:34 +02:00
Victor Bjelkholm
be9d21399c Uncomment CC test cases and add alternative syntax tests 2014-07-14 13:45:44 +02:00
Victor Bjelkholm
c59cfd54b0 Use old array syntax instead of new to keep compatibility 2014-07-14 12:58:09 +02:00
Victor Bjelkholm
ad0f6b9708 Add instanceOf validation 2014-07-14 12:43:00 +02:00
Victor Bjelkholm
04c52ae778 Add PHPUnit as a development requirement in composer 2014-07-14 12:42:43 +02:00
Vance Lucas
1e55a1bf56 Merge pull request #83 from howtomakeaturn/master
Add zh-tw translation for Taiwan and Hong Kong
2014-07-07 09:10:00 -05:00
Vance Lucas
a7cb935ec5 Update README with note on the BCMath extension v1.1.8 2014-07-07 09:05:41 -05:00
Vance Lucas
f52df87b56 Made the BC Math extension optional 2014-07-07 09:00:28 -05:00
howtomakeaturn
0684a240b8 Add zh-tw translation for Taiwan and Hong Kong 2014-07-05 18:23:51 +08:00
Vance Lucas
c984bc100e Merge pull request #74 from Caldazar/l10n_de
++ l10n de
2014-06-20 09:51:40 -05:00
Vance Lucas
a804fda0e2 Merge pull request #80 from hiroy/add-lang-japanese
Add Japanese language
2014-06-20 09:32:04 -05:00
Hiroyuki Yamaoka
a2e98977af Add Japanese language 2014-06-20 15:04:24 +09:00
Vance Lucas
c0ff8076d6 Version 1.1.7 Release v1.1.7 2014-06-11 09:25:29 -05:00
Vance Lucas
773e9034a9 Merge pull request #77 from Rayne/patch-1
Typo in Validator
2014-06-10 14:23:14 -05:00
Rayne
40f4e5b34b Typo in Validator 2014-06-10 20:25:58 +02:00
Vance Lucas
80c5ca7ed2 Merge pull request #76 from ecoreng/master
spanish lang added
2014-06-10 09:01:36 -05:00