Skip to content

Commit

Permalink
Removing SCANDIR_SORT_NONE
Browse files Browse the repository at this point in the history
  • Loading branch information
phayes committed Dec 2, 2014
1 parent 50c2955 commit 78c3c3a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/postgis.php
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion tests/test.php
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/adaptersTest.php
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/geosTest.php
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/methodsTest.php
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/placeholdersTest.php
Expand Up @@ -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];
Expand Down

0 comments on commit 78c3c3a

Please sign in to comment.