We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 551d1e7 + a345849 commit c58958aCopy full SHA for c58958a
src/main/java/fr/adrienbrault/idea/symfony2plugin/security/VoterGotoCompletionRegistrar.java
@@ -85,6 +85,10 @@ public static boolean isIsGrantedMethodMatch(@NotNull StringLiteralExpression st
85
.withSignature("Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerTrait", "isGranted")
86
.withSignature("Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerTrait", "denyAccessUnlessGranted")
87
88
+ // Symfony 4 / 5 / 6
89
+ .withSignature("Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController", "isGranted")
90
+ .withSignature("Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController", "denyAccessUnlessGranted")
91
+
92
.withSignature("Symfony\\Component\\Security\\Core\\Authorization\\AuthorizationCheckerInterface", "isGranted")
93
.match();
94
0 commit comments