Skip to content

Commit

Permalink
sorts by name
Browse files Browse the repository at this point in the history
this ensures the order of files is deterministic
  • Loading branch information
gcavanunez committed Jan 31, 2025
1 parent 69e6bee commit 6ca55d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/File/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ protected function getFinder($directory, $match = [], $ignore = [], $ignore_dotf
$finder->notPath($this->getWildcardRegex($pattern));
});

return $finder;
return $finder->sortByName();
}

protected function getWildcardRegex($pattern)
Expand Down

0 comments on commit 6ca55d6

Please sign in to comment.