From 9726d0f835085f42608db49b9031b2e9f96444c2 Mon Sep 17 00:00:00 2001 From: Willem Wollebrants Date: Mon, 30 Oct 2017 19:44:17 +0100 Subject: [PATCH 1/3] remove unused parameter for required rule --- src/Valitron/Validator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Valitron/Validator.php b/src/Valitron/Validator.php index 77305fa..c629ca4 100644 --- a/src/Valitron/Validator.php +++ b/src/Valitron/Validator.php @@ -146,7 +146,7 @@ public static function langDir($dir = null) * @param array $params * @return bool */ - protected function validateRequired($field, $value, array $params= array(), array $fields = array()) + protected function validateRequired($field, $value, $params= array()) { if (isset($params[0]) && (bool) $params[0]){ $find = $this->getPart($this->_fields, explode('.', $field), true); From 3da6518e3863e090ff14793dc9cd30c13a80fa08 Mon Sep 17 00:00:00 2001 From: Willem Wollebrants Date: Mon, 30 Oct 2017 19:49:58 +0100 Subject: [PATCH 2/3] time to no longer test for php 5.3 --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dd1e738..ed0ae4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,6 @@ language: php # list any PHP version you want to test against php: - - 5.3 - 5.4 - 5.5 - 5.6 From 890cf6a104509eb94ac765a33d862f55e83d3912 Mon Sep 17 00:00:00 2001 From: Willem Wollebrants Date: Mon, 30 Oct 2017 20:02:29 +0100 Subject: [PATCH 3/3] let's see if we can keep 5.3 still --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index ed0ae4a..a941551 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,10 @@ # see http://about.travis-ci.org/docs/user/languages/php/ for more hints language: php +dist: precise # list any PHP version you want to test against php: + - 5.3 - 5.4 - 5.5 - 5.6