-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Remove redundant code #19155
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
Conversation
The fact that it does not change the Configuration class looks weird to me |
@stof |
@stof ok in fact the |
At least, I would now remove the second call to the |
a02ee60
to
c30f0b0
Compare
c30f0b0
to
a21af88
Compare
done @xabbuh |
👍 LGTM |
Thank you @Ener-Getick. |
This PR was merged into the 3.2-dev branch. Discussion ---------- [FrameworkBundle] Remove redundant code | Q | A | ------------- | --- | Branch? | "master" | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Was part of #17706. Change the remaining ``isset($config['foo'])`` to ``$this->isConfigEnabled($config['foo'])`` to allow to use parameters to enable a feature. Commits ------- a21af88 [FrameworkBundle] Remove redundant code
Was part of #17706.
Change the remaining
isset($config['foo'])
to$this->isConfigEnabled($config['foo'])
to allow to use parameters to enable a feature.