From 47ed2d2cd123991e04b905946626d0baddcbe408 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Wed, 11 Jul 2018 16:47:52 +1200 Subject: [PATCH] Use php 5.3 array syntax --- tests/TikaTextExtractorTest.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/TikaTextExtractorTest.php b/tests/TikaTextExtractorTest.php index b35ea20..d307d54 100644 --- a/tests/TikaTextExtractorTest.php +++ b/tests/TikaTextExtractorTest.php @@ -57,13 +57,13 @@ class TikaTextExtractorTest extends SapphireTest protected function versionProvider() { - return [ - ['1.7.1', '1.7.1'], - ['1.7', '1.7.0'], - ['1', '1.0.0'], - [null, '0.0.0'], - ['v1.5', 'v1.5.0'], - ['carrot', 'carrot.0.0'] - ]; + return array( + array('1.7.1', '1.7.1'), + array('1.7', '1.7.0'), + array('1', '1.0.0'), + array(null, '0.0.0'), + array('v1.5', 'v1.5.0'), + array('carrot', 'carrot.0.0') + ); } }