From 44f049a0a5dc7c23e45b0d0a3fe55637b38c42c4 Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Fri, 22 May 2015 23:57:51 +0100 Subject: [PATCH] Fix to short array reference in tests for PHP < 5.4 --- unitTests/Classes/PHPExcel/Reader/XEEValidatorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unitTests/Classes/PHPExcel/Reader/XEEValidatorTest.php b/unitTests/Classes/PHPExcel/Reader/XEEValidatorTest.php index e781f71e..49e4aa98 100644 --- a/unitTests/Classes/PHPExcel/Reader/XEEValidatorTest.php +++ b/unitTests/Classes/PHPExcel/Reader/XEEValidatorTest.php @@ -45,7 +45,7 @@ class XEEValidatorTest extends PHPUnit_Framework_TestCase public function providerValidXML() { - $tests = []; + $tests = array(); foreach (glob('rawTestData/Reader/XEETestValid*.xml') as $file) { $tests[] = [realpath($file), file_get_contents($file)]; }