Skip to content
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

Use 'Extension' under 'DependencyInjection' component #99

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

pan93412
Copy link
Contributor

@pan93412 pan93412 commented Dec 11, 2024

The old Symfony\Component\HttpKernel\DependencyInjection\Extension class is considered internal since Symfony 7.1, to be deprecated in 8.1. According to the official deprecation message, we should use Symfony\Component\DependencyInjection\Extension\Extension instead.

I have tested it, and I can confirm that there is no deprecation message, while MJML continues to work perfectly as before. Additionally, Symfony\Component\DependencyInjection\Extension\Extension has existed since Symfony 3, so I don't think there is a need to implement compatibility code.

Fixed #98

The old "Symfony\Component\HttpKernel\DependencyInjection\Extension" class is
considered internal since Symfony 7.1, to be deprecated in 8.1. According to
the official deprecation message, we should use
Symfony\Component\DependencyInjection\Extension\Extension instead.

Fixed Akollade#98
@notFloran
Copy link
Member

Good catch, thanks again @pan93412 !

@notFloran notFloran merged commit 0e7d428 into Akollade:main Dec 11, 2024
14 checks passed
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.

Receive a deprecation message about MJML bundle in Symfony 7.3-DEV
2 participants