Skip to content

Commit

Permalink
Fix test for PHP < 5.4 PHPOffice#2
Browse files Browse the repository at this point in the history
  • Loading branch information
siwinski committed Oct 8, 2015
1 parent 97f5744 commit e363972
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unitTests/Classes/PHPExcel/Reader/XEEValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function providerInvalidXML()
{
$tests = array();
foreach (glob('rawTestData/Reader/XEETestInvalid*.xml') as $file) {
$tests[] = [realpath($file), true];
$tests[] = array(realpath($file), true);
}
return $tests;
}
Expand All @@ -47,7 +47,7 @@ public function providerValidXML()
{
$tests = array();
foreach (glob('rawTestData/Reader/XEETestValid*.xml') as $file) {
$tests[] = [realpath($file), file_get_contents($file)];
$tests[] = array(realpath($file), file_get_contents($file));
}
return $tests;
}
Expand Down

0 comments on commit e363972

Please sign in to comment.