diff --git a/tests/postgis.php b/tests/postgis.php index 1804da24..c2318588 100644 --- a/tests/postgis.php +++ b/tests/postgis.php @@ -24,7 +24,7 @@ function run_test() { // Working with PostGIS and EWKB // ---------------------------- - foreach (scandir('./input', SCANDIR_SORT_NONE) as $file) { + foreach (scandir('./input') as $file) { $parts = explode('.',$file); if ($parts[0]) { $name = $parts[0]; diff --git a/tests/test.php b/tests/test.php index ae112bd6..9f4fe91c 100644 --- a/tests/test.php +++ b/tests/test.php @@ -24,7 +24,7 @@ function run_test() { print "GEOS is not installed.\n"; } - foreach (scandir('./input', SCANDIR_SORT_NONE) as $file) { + foreach (scandir('./input') as $file) { $parts = explode('.',$file); if ($parts[0]) { $format = $parts[1]; diff --git a/tests/tests/adaptersTest.php b/tests/tests/adaptersTest.php index 5952e10f..69d0a603 100644 --- a/tests/tests/adaptersTest.php +++ b/tests/tests/adaptersTest.php @@ -7,7 +7,7 @@ function setUp() { } function testAdapters() { - foreach (scandir('./input', SCANDIR_SORT_NONE) as $file) { + foreach (scandir('./input') as $file) { $parts = explode('.',$file); if ($parts[0]) { $format = $parts[1]; diff --git a/tests/tests/geosTest.php b/tests/tests/geosTest.php index e45e212f..9233b377 100644 --- a/tests/tests/geosTest.php +++ b/tests/tests/geosTest.php @@ -11,7 +11,7 @@ function testGeos() { echo "Skipping GEOS -- not installed"; return; } - foreach (scandir('./input', SCANDIR_SORT_NONE) as $file) { + foreach (scandir('./input') as $file) { $parts = explode('.',$file); if ($parts[0]) { $format = $parts[1]; diff --git a/tests/tests/methodsTest.php b/tests/tests/methodsTest.php index 3129ff3a..a946b4a7 100644 --- a/tests/tests/methodsTest.php +++ b/tests/tests/methodsTest.php @@ -7,7 +7,7 @@ function setUp() { } function testMethods() { - foreach (scandir('./input', SCANDIR_SORT_NONE) as $file) { + foreach (scandir('./input') as $file) { $parts = explode('.',$file); if ($parts[0]) { $format = $parts[1]; diff --git a/tests/tests/placeholdersTest.php b/tests/tests/placeholdersTest.php index 8f50f4dd..90b1c3f1 100644 --- a/tests/tests/placeholdersTest.php +++ b/tests/tests/placeholdersTest.php @@ -7,7 +7,7 @@ function setUp() { } function testPlaceholders() { - foreach (scandir('./input', SCANDIR_SORT_NONE) as $file) { + foreach (scandir('./input') as $file) { $parts = explode('.',$file); if ($parts[0]) { $format = $parts[1];