stof / StofDoctrineExtensionsBundle

Integration bundle for DoctrineExtensions by l3pp4rd in Symfony
https://symfony.com/bundles/StofDoctrineExtensionsBundle/current/index.html
MIT License
1.89k stars 380 forks source link

Symfony 7.1 Deprecation of Symfony\Component\HttpKernel\DependencyInjection\Extension #483

Closed tacman closed 3 months ago

tacman commented 3 months 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 "Stof\DoctrineExtensionsBundle\DependencyInjection\StofDoctrineExtensionsExtension".

tacman commented 3 months ago

What do you think of dropping unsupported Symfony versions, like 6.0, and instead requiring ^5.4|^6.4|^7.0? This change should be pretty easy then.

stof commented 3 months ago

Fixed in #485

stof commented 3 months ago

note that the suggested change for requirements does not help at all. As long as we support 5.4, dropping support for 6.0 won't help at all (as the code needing to support 6.0 is still needed for 5.4 anyway)