-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Fix wrong env variable name #18619
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
Fix wrong env variable name #18619
Conversation
I see this might look a bit confusing, but in this very same example, we include the following a few lines above: if (isset($_ENV['BOOTSTRAP_CLEAR_CACHE_ENV'])) { So, I think this might be correct. But it's true that it can be confusing because "Bootstrap" looks like something related to the Bootstrap CSS framework instead of the Symfony bootstrap process 🤔 |
yes it's a bit confusing, like why clearing the cache of another environnement than the testing environnement :D |
I'm not sure what to do here. Let's ask @wouterj to see if he can come up with a better name or has any other suggestion. Thanks! |
I'm fine with not using the custom variable here. Using a different environment for the application is not that common, so let's make the example easier (if you need advanced stuff, you can probably come up with the solution yourself). But this means we must also remove the if statement lines, and lines 51 - 67 (where we talk about configuring the custom env var). Can you update this PR with these changes, @dellamowica? (you can do so by creating a new commit on your |
done ;-) |
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.
Thank you!
I've left one last suggestion, but we can also fix it during the merge.
@dellamowica thanks for this contribution and for your patience during the review process (thanks to reviewers too!). Also, congrats on your first Symfony Docs contribution 🎉 |
fix a copy/paste typo