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
8585 .withSignature ("Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ ControllerTrait" , "isGranted" )
8686 .withSignature ("Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ ControllerTrait" , "denyAccessUnlessGranted" )
8787
88+ // Symfony 4 / 5 / 6
89+ .withSignature ("Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ AbstractController" , "isGranted" )
90+ .withSignature ("Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ AbstractController" , "denyAccessUnlessGranted" )
91+
8892 .withSignature ("Symfony\\ Component\\ Security\\ Core\\ Authorization\\ AuthorizationCheckerInterface" , "isGranted" )
8993 .match ();
9094
You can’t perform that action at this time.
0 commit comments