Skip to content

[5.7] Sort phpunit environment variables alphabetically #4833

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

Merged
merged 1 commit into from
Oct 27, 2018
Merged

[5.7] Sort phpunit environment variables alphabetically #4833

merged 1 commit into from
Oct 27, 2018

Conversation

roberto-aguilar
Copy link
Contributor

No description provided.

@samundra
Copy link

samundra commented Oct 27, 2018 via email

@roberto-aguilar
Copy link
Contributor Author

roberto-aguilar commented Oct 27, 2018

Several parts of the framework are sorted alphabetically, for example, take a look at the resources/lang/en validation files or the route middlewares.

It feels better to search for things when you know that they have a certain order and more importantly, when they are consistent.

I was doing a framework upgrade and wanted to make sure that i wasn't missing a new environment variable, if this has the right order, you can paste the new file in your application and see the right git diff (like in this time where the QUEUE_DRIVER was renamed recently to QUEUE_CONNECTION).

@samundra
Copy link

@DojoGeekRA Well, I am not fully convinced as changing the order for the sake of easing the upgrade process. Lets wait what others have to say.

@taylorotwell taylorotwell merged commit 6ee6f64 into laravel:master Oct 27, 2018
@GrahamCampbell GrahamCampbell changed the title Sort phpunit environment variables alphabetically [5.7] Sort phpunit environment variables alphabetically Oct 27, 2018
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.

3 participants