You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Routes are not being indexed if controller file name contains "Test".
I have a controller called TestPageController.php that displays TestPage entities. Routes are defined with '@route("foo", name="bar")' annotations. Route hints in PHP and twig don't work. If I rename the controller so that the file name does not contain "Test", then hinting works.
Routes are not being indexed if controller file name contains "Test".
I have a controller called TestPageController.php that displays TestPage entities. Routes are defined with '@route("foo", name="bar")' annotations. Route hints in PHP and twig don't work. If I rename the controller so that the file name does not contain "Test", then hinting works.
I've narrowed it down to https://github.com/Haehnchen/idea-php-symfony2-plugin/blob/master/src/fr/adrienbrault/idea/symfony2plugin/stubs/indexes/ContainerBuilderStubIndex.java#L115 (isValidForIndex method)
Isn't it a little aggressive to ignore anything with "Test" in its name?
Either way, thanks for the excellent plugin.
The text was updated successfully, but these errors were encountered: