FriendsOfSymfony / FOSJsRoutingBundle

A pretty nice way to expose your Symfony routing to client applications.
1.48k stars 260 forks source link

Deprecation notice on Symfony's DependencyInjection/Extension #484

Open ReSpawN opened 1 week ago

ReSpawN commented 1 week 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 "FOS\JsRoutingBundle\DependencyInjection\FOSJsRoutingExtension".

Changing the extension base class would only cause the drop of getXsdValidationBasePath and getNamespace, which are easily overwritten (see \Symfony\Component\DependencyInjection\Extension\Extension).