Skip to content

Commit 2b5fb5f

Browse files
committed
change array syntax for php 5.3
1 parent 12f4439 commit 2b5fb5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/TarTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ public function testBlockData()
557557
*/
558558
public function testGzipIsValid()
559559
{
560-
foreach (['tgz', 'tar.gz'] as $ext) {
560+
foreach (array('tgz', 'tar.gz') as $ext) {
561561
$input = glob(dirname(__FILE__) . '/../src/*');
562562
$archive = sys_get_temp_dir() . '/dwtartest' . md5(time()) . '.' . $ext;
563563
$extract = sys_get_temp_dir() . '/dwtartest' . md5(time() + 1);

0 commit comments

Comments
 (0)