Skip to content

Conversation

@odolbeau
Copy link
Member

The TranslationExtension have been marked as final (see https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Extension/TranslationExtension.php#L29).

Use encapsulation instead of inheritance + clean service declaration.

⚠️ This introduce a BC Break as methods setRequestStack & setActivator have been removed.
If those methods were there on purpose, I can add them back.

Copy link
Member

@welcoMattic welcoMattic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@XWB XWB merged commit cfcee72 into php-translation:master Nov 29, 2019
@XWB
Copy link
Contributor

XWB commented Nov 29, 2019

👍

@XWB
Copy link
Contributor

XWB commented Nov 29, 2019

This introduce a BC Break as methods setRequestStack & setActivator have been removed.
If those methods were there on purpose, I can add them back.

The upcoming 1.0 version of this bundle allows us to introduce BC breaks.

@odolbeau odolbeau deleted the correct-extension branch December 1, 2019 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants