onassar/PHP-JSON-Validation — pull request #1 by ricick (2012-11-20 01:49:14+00:00)
Title: Fixed a bug with inlist string validator

Inlist rule was breaking because the validator class tries to run preg_match on all parameters. This throws an error is a parameter is an array such as with inlist.

Just wrapped an "if is_array" around it.