Commit 1ecadb82 authored by Phill Sparks's avatar Phill Sparks

Sort outstanding tasks by filename

parent 9bcbe6a3
...@@ -127,6 +127,14 @@ class Resolver { ...@@ -127,6 +127,14 @@ class Resolver {
$instances[] = compact('bundle', 'name', 'migration'); $instances[] = compact('bundle', 'name', 'migration');
} }
// At this point the migrations are only sorted within their
// bundles so we need to re-sort them by name to ensure they
// are in a consistent order.
usort($migrations, function($a, $b)
{
return strcmp($a['name'], $b['name']);
});
return $instances; return $instances;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment