-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[HttpKernel] when configuring the container add services_{env} with php extension #50754
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
[HttpKernel] when configuring the container add services_{env} with php extension #50754
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 |
Hey! Thanks for your PR. You are targeting branch "6.4" but it seems your PR description refers to branch "6.4 for bug fixes to 3.4". Cheers! Carsonbot |
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.
While it's a bit late and despite when()
is the new best practice, I think this doesn't hurt. Not having these files loaded when moving config from yaml to php can be surprising, formats are used to behave the same as each other.
We didn't add this because this can be done in PHP directly: |
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.
A nice first contribution to Symfony and with a perfectly explained reasoning behind it. Thanks Marvin!
Thank you everyone for your feedbacks, and thank you @javiereguiluz for those very nice words 😊 I'm really happy to have finally made my first contribution to Symfony 👯 ! |
Thank you @helyakin. |
I didn't open a documentation issue because I think there's no impact there, but I may be wrong. |
Hello the community
This is my first PR attempt.
So after reading this documentation and unsuccessfully trying to load my
service_test.php
, I've noticed that theconfigureContainer(..)
function in theMicroKernelTrait
file was not configured to automatically load this file.So either we should fix the documentation, either we should fix the configuration.
Since this the framework-bundle is backed by Alximy I figured it would be cool 😎 to try and fix 🐛 the configuration.
Anyway share me your thoughts about what should be done !
And I wanted to say that php service configuration is 🔥 so shoutout to the one who did this (I think it's you @nicolas-grekas with this PR right ? 💪🏻)
Also big thanks to @jeremyFreeAgent for debugging this with me and @HeahDude for showing me the php service configuration PR.