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

Fix DI Extension class deprecation with Symfony 7.1 #138

Merged
merged 1 commit into from
Nov 24, 2024

Conversation

norkunas
Copy link
Contributor

The "Symfony\Component\HttpKernel\DependencyInjection\Extension" class is considered internal since Symfony 7.1, to be deprecated in 8.1; use Symfony\Component\DependencyInjection\Extension\Extension instead. It may change without further notice. You should not use it from "Presta\SitemapBundle\DependencyInjection\PrestaSitemapExtension".

The "Symfony\Component\HttpKernel\DependencyInjection\Extension" class is considered internal since Symfony 7.1, to be deprecated in 8.1; use Symfony\Component\DependencyInjection\Extension\Extension instead. It may change without further notice. You should not use it from "Presta\SitemapBundle\DependencyInjection\PrestaSitemapExtension".
@norkunas
Copy link
Contributor Author

ping @dunglas 😊

@back-2-95
Copy link
Contributor

🙏

@back-2-95
Copy link
Contributor

Just tested this change with Symfony 7.2 RC2 and the deprecation is out and all things work normally.

@dunglas dunglas merged commit 70387a1 into dunglas:main Nov 24, 2024
5 checks passed
@dunglas
Copy link
Owner

dunglas commented Nov 24, 2024

Thank you!! Sorry for the delay.

@norkunas norkunas deleted the fix-deprecation branch November 24, 2024 13:42
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