-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Process] intersect with getenv() in case-insensitive manner to get default envs #44261
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
[Process] intersect with getenv() in case-insensitive manner to get default envs #44261
Conversation
Hey! I see that this is your first PR. That is great! Welcome! Symfony has a contribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
cba3bb2
to
72d0204
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for spotting and submitting this!
I updated the patch a bit to make it Windows-specific and add similar logic in other places that needed it.
is it possible to add tests covering this to avoid regressions ? |
72d0204
to
ca64e23
Compare
…efault envs - since environment variables are case-insensitive in Windows, all envs should be compared in case-insensitive manner
ca64e23
to
d78bc24
Compare
I added a test case. |
Thank you @stable-staple. |
Since environment variables are case-insensitive in Windows, all envs should be compared in case-insensitive manner.