Symfony 4.1 Routing: support double colon changes
bundle notation is deprecated. there some condition in routing resolving like services that rely on this :: cleanup this see:
- https://symfony.com/blog/new-in-symfony-4-1-deprecated-the-bundle-notation
- https://github.com/symfony/symfony/pull/26085
When replacing single colons with double colons in order to fix deprecation notices, I noticed that I can no longer navigate (Ctrl + click) from the routes.yaml to the controller classes.
Perhaps an important detail: we're using service names (controller.login::loginAction) instead of class names (App\LoginController::loginAction).
Any indication when support for the double colons will be added to the plugin? Or can you give me some indications where this is handled, so I can try to send a pull request myself?
Autocompletion for class names in the controller entry in routing is not working. This will be included in this fix?
@apfelbox please open a new issue for this
@cedricziel I have created issue #1231
I created entries for what is and what isn't supported yet and in this ticket this points are of interest:
Cmd+Click works: ✅

Missing method is detected: ✅

Missing class is not detected: ❌

Alright, thank you. I'll have a look at it.
When replacing single colons with double colons in order to fix deprecation notices, I noticed that I can no longer navigate (Ctrl + click) from the routes.yaml to the controller classes.
Perhaps an important detail: we're using service names (
controller.login::loginAction) instead of class names (App\LoginController::loginAction).Any indication when support for the double colons will be added to the plugin? Or can you give me some indications where this is handled, so I can try to send a pull request myself?
Is this something anyone is looking into? It's still doesn't appear to be working (my.controller.service::myAction)