File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/main/java/fr/adrienbrault/idea/symfony2plugin/security Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,10 @@ public static boolean isIsGrantedMethodMatch(@NotNull StringLiteralExpression st
85
85
.withSignature ("Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ ControllerTrait" , "isGranted" )
86
86
.withSignature ("Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ ControllerTrait" , "denyAccessUnlessGranted" )
87
87
88
+ // Symfony 4 / 5 / 6
89
+ .withSignature ("Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ AbstractController" , "isGranted" )
90
+ .withSignature ("Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ AbstractController" , "denyAccessUnlessGranted" )
91
+
88
92
.withSignature ("Symfony\\ Component\\ Security\\ Core\\ Authorization\\ AuthorizationCheckerInterface" , "isGranted" )
89
93
.match ();
90
94
You can’t perform that action at this time.
0 commit comments