Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.5] FileSystem returns files and directories sorted by name #23884

Closed
wants to merge 1 commit into from
Closed

[5.5] FileSystem returns files and directories sorted by name #23884

wants to merge 1 commit into from

Conversation

staudenmeir
Copy link
Contributor

Backport of #23387.

Fixes #23883.

@GrahamCampbell
Copy link
Member

Thanks, but I don't think this qualifies as a fix for an LTS release. This is more of a feature. The method description doesn't claim it sorts the values.

@staudenmeir
Copy link
Contributor Author

staudenmeir commented Apr 15, 2018

You're right, Laravel doesn't promise a sorted result. But since it was "working" in 5.4, I thought it would be good to have for people who are (unknowingly) relying on it.

@sisve
Copy link
Contributor

sisve commented Apr 15, 2018

Technically, Laravel doesn't promise any ordered results in 5.6 either. There were no tests added to #23387 to verify the order of the result, neither where there any documentation changes that backs it up. It can be removed in the future, just like it was in 5.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants