From 282f4a6ac3b172af7f9bed1c6d1c32f608c98579 Mon Sep 17 00:00:00 2001 From: Lane Roberts Date: Thu, 18 Sep 2014 11:32:30 -0500 Subject: [PATCH] PHP 5.3 compatibility in array syntax --- tests/Valitron/ValidateTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Valitron/ValidateTest.php b/tests/Valitron/ValidateTest.php index 7fce178..385190c 100644 --- a/tests/Valitron/ValidateTest.php +++ b/tests/Valitron/ValidateTest.php @@ -583,10 +583,10 @@ class ValidateTest extends BaseTestCase $v = new Validator(array('startDate' => '2013-01-27', 'endDate' => '2013-05-08')); $v->rule( 'date', - [ + array( 'startDate', 'endDate' - ] + ) ); $v->rule(