Skip to content

Commit

Permalink
Silence PHP8.4 deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Oct 6, 2024
1 parent 651c276 commit b9eab54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CoordinateOperation/AutoConversionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ public static function EPSGConcatenatedOperations(): array
$toTest = [];

$dataFile = fopen(__DIR__ . '/EPSGConcatenatedOperations.csv', 'rb');
while ($data = fgetcsv($dataFile)) {
while ($data = fgetcsv($dataFile, escape: '')) {
$toTest[$data[0] . ':' . $data[1]] = [$data[2], $data[3], array_map(fn (string $code) => 'urn:ogc:def:area:EPSG::' . $code, array_unique(explode('|', $data[4]))), (bool) $data[5]];
}

Expand Down

0 comments on commit b9eab54

Please sign in to comment.