Fix to short array reference in tests for PHP < 5.4

This commit is contained in:
MarkBaker 2015-05-22 23:57:51 +01:00
parent e0cefe3360
commit 44f049a0a5
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class XEEValidatorTest extends PHPUnit_Framework_TestCase
public function providerValidXML() public function providerValidXML()
{ {
$tests = []; $tests = array();
foreach (glob('rawTestData/Reader/XEETestValid*.xml') as $file) { foreach (glob('rawTestData/Reader/XEETestValid*.xml') as $file) {
$tests[] = [realpath($file), file_get_contents($file)]; $tests[] = [realpath($file), file_get_contents($file)];
} }