Skip to content

Commit

Permalink
Merge pull request #1173 from doctrine/no-finder-sort
Browse files Browse the repository at this point in the history
No finder sort
  • Loading branch information
greg0ire committed Jul 3, 2021
2 parents 7b07fcc + bcd9956 commit 537a847
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/Doctrine/Migrations/Finder/Finder.php
Expand Up @@ -12,13 +12,10 @@
use function get_declared_classes;
use function in_array;
use function is_dir;
use function ksort;
use function realpath;
use function strlen;
use function strncmp;

use const SORT_STRING;

/**
* The Finder class is responsible for for finding migrations on disk at a given path.
*/
Expand Down Expand Up @@ -68,8 +65,6 @@ protected function loadMigrations(array $files, ?string $namespace): array
$versions[] = $class->getName();
}

ksort($versions, SORT_STRING);

return $versions;
}

Expand Down

0 comments on commit 537a847

Please sign in to comment.