prestaconcept / PrestaSitemapBundle

A symfony bundle that provides tools to build a rich application sitemap. The main goals are : simple, no databases, various namespace (eg. google image), respect constraints etc.
MIT License
347 stars 100 forks source link

Fix DI Extension class deprecation with Symfony 7.1 #344

Closed norkunas closed 2 weeks ago

norkunas commented 2 weeks ago

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".

yann-eugone commented 2 weeks ago

I've fixed PhpStan in https://github.com/prestaconcept/PrestaSitemapBundle/pull/345

yann-eugone commented 2 weeks ago

Found the PR where that class was deprecated https://github.com/symfony/symfony/pull/53801 Looks like a "side effect", but still need to change the parent

yann-eugone commented 2 weeks ago

Thank you @norkunas :pray: