Skip to content

Replace interface in custom normalizer #12093

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

Merged
merged 1 commit into from
Aug 8, 2019
Merged

Replace interface in custom normalizer #12093

merged 1 commit into from
Aug 8, 2019

Conversation

tony-tran
Copy link
Contributor

Replace NormalizerInterface by ContextAwareNormalizerInterface to use context parameter in supportNormalization method

@tony-tran
Copy link
Contributor Author

It's the same from 4.1 to 4.4

@javiereguiluz
Copy link
Member

Thanks for this contribution Tony. Please note that if this change is approved, we'll merge it in 4.3 branch, the oldest maintained branch where this is applicable (see https://symfony.com/roadmap#maintained-symfony-branches).

@tony-tran
Copy link
Contributor Author

My bad, this PR is for 4.2 minimum ....

@tony-tran tony-tran changed the base branch from 4.1 to 4.2 August 5, 2019 15:12
@tony-tran tony-tran changed the base branch from 4.2 to 4.1 August 5, 2019 15:13
@javiereguiluz javiereguiluz added this to the 4.3 milestone Aug 5, 2019
@tony-tran
Copy link
Contributor Author

tony-tran commented Aug 5, 2019

Yes thank you @javiereguiluz. Do I have to change the target of the PR ?

@tony-tran tony-tran changed the base branch from 4.1 to 4.3 August 5, 2019 15:19
@OskarStark
Copy link
Contributor

Yes thank you @javiereguiluz. Do I have to change the target of the PR ?

No we take care of the switch, thank you 👍

@javiereguiluz
Copy link
Member

Tony, thanks for fixing this and for rebasing the pull request to the right branch. Congrats also on your first Symfony Docs contribution!

@javiereguiluz javiereguiluz merged commit a756044 into symfony:4.3 Aug 8, 2019
javiereguiluz added a commit that referenced this pull request Aug 8, 2019
This PR was merged into the 4.3 branch.

Discussion
----------

Replace interface in custom normalizer

Replace NormalizerInterface by ContextAwareNormalizerInterface to use `context` parameter in supportNormalization method

Commits
-------

a756044 Replace NormalizerInterface by ContextAwareNormalizerInterface to use context in supportNormalization method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants