-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Make some method of the CRUDController final #7252
Merged
VincentLanglet
merged 3 commits into
sonata-project:master
from
VincentLanglet:finalCrud
Jun 16, 2021
Merged
Make some method of the CRUDController final #7252
VincentLanglet
merged 3 commits into
sonata-project:master
from
VincentLanglet:finalCrud
Jun 16, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VincentLanglet
force-pushed
the
finalCrud
branch
from
June 13, 2021 18:41
a894ad5
to
3d0e32c
Compare
franmomu
reviewed
Jun 13, 2021
*/ | ||
protected function renderWithExtraParams(string $view, array $parameters = [], ?Response $response = null): Response | ||
final protected function renderWithExtraParams(string $view, array $parameters = [], ?Response $response = null): Response |
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.
shouldn't we add @final
in 3.x
to these methods to warn users?
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.
I will do. I prefer to first decide what should be final.
dmaicher
approved these changes
Jun 15, 2021
jordisala1991
approved these changes
Jun 16, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Subject
I am targeting this branch, because BC-break.
I let as non final
addRenderExtraParams
introduced here: Allow reuse render extra parameters #5965 ; but I'm considering removing this method the day we've solved Extract the way we choosebase_template
for actions #7242getLogger
but I'm not sure about this one.getBaseTemplate
handleModelManagerException
preCreate
and similar methods.handleXmlHttpRequestErrorResponse
andhandleXmlHttpRequestSuccessResponse
introduced here: Make handle xml http request response protected #6214Changelog