165 Commits

Author SHA1 Message Date
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
ecoreng
4427fe4145 spanish lang added 2014-06-10 01:21:44 -07:00
Michael Kutschall
da841eef75 ++ l10n de 2014-06-04 19:32:19 +02:00
Vance Lucas
7a7a3f96f3 Version 1.1.6 Release v1.1.6 2014-05-27 21:34:44 -05:00
Vance Lucas
ad89c5ec35 Merge pull request #72 from thinkjson/validate-zero
Run validation is field is non-null instead of truthy. Fixes #70
2014-05-27 14:51:00 -05:00
Mark Cahill
272fe84b15 Run validation is field is non-null instead of truthy. Fixes #70 2014-05-27 15:31:13 -04:00
Vance Lucas
a45bd2b040 Merge pull request #66 from brandonlamb/features/lang-formatting
Update array formatting of language files to be same indentation
2014-05-27 14:07:21 -05:00
Vance Lucas
2d111d9204 Merge pull request #67 from brandonlamb/features/phpdoc
Update docblocks, consistency/missing types, etc
2014-05-27 14:04:08 -05:00
Vance Lucas
746871558b Merge pull request #68 from brandonlamb/features/psr-formatting
Apply some PSR formatting updates
2014-05-27 11:48:18 -05:00
Brandon Lamb
6454f648a5 Apply some PSR formatting updates 2014-05-26 13:55:30 -07:00
Brandon Lamb
37563d76ba Add missing throws phpdoc 2014-05-26 13:39:03 -07:00
Brandon Lamb
57f2476642 Update docblocks, consistency/missing types, etc 2014-05-26 13:37:13 -07:00
Brandon Lamb
1fef00f992 Update array formatting of language files to be same indentation 2014-05-26 13:23:04 -07:00
Vance Lucas
2120bacaf5 Merge pull request #63 from azwar/master
Add language for Bahasa Indonesia
2014-04-14 09:55:10 -05:00
azwar akbar
cca07cff73 Add language for Bahasa Indonesia 2014-04-12 21:21:53 +07:00
Vance Lucas
430a8324ec Merge pull request #53 from Kilte/feature-length
Add min/max-length validators
2014-04-10 10:53:37 -05:00
Vance Lucas
b0d65877b1 Merge pull request #61 from JustinHook/master
Fixed issue with validating decimals with Min/Max rules
2014-04-03 15:29:27 -05:00
Justin Hook
631a5e2138 Updated min and max rules to use bccomp for number comparison. 2014-04-02 21:58:30 +01:00