Skip to content

Commit 823e994

Browse files
author
Scott Pringle
committed
Updated to use PHP5.3 array syntax
1 parent e3edd22 commit 823e994

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/PHPExif/Mapper/ExiftoolMapperTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,9 @@ public function testSetNumericInProperty()
239239

240240
public function testMapRawDataCorrectlyFormatsDifferentDateTimeString()
241241
{
242-
$rawData = [
242+
$rawData = array(
243243
\PHPExif\Mapper\Exiftool::CREATEDATE => '2014-12-15 00:12:00'
244-
];
244+
);
245245

246246
$mapped = $this->mapper->mapRawData(
247247
$rawData
@@ -257,9 +257,9 @@ public function testMapRawDataCorrectlyFormatsDifferentDateTimeString()
257257

258258
public function testMapRawDataCorrectlyIgnoresInvalidCreateDate()
259259
{
260-
$rawData = [
260+
$rawData = array(
261261
\PHPExif\Mapper\Exiftool::CREATEDATE => 'Invalid Date String'
262-
];
262+
);
263263

264264
$result = $this->mapper->mapRawData(
265265
$rawData

0 commit comments

Comments
 (0)