Description
The go to completion is not working with the method denyAccessUnlessGranted()
in Symfony 5.4 after I upgraded the Symfony Framework from 4.4 to 5.4.
However, the go to completion is still working with the method isGranted()
in Symfony 5.4.
In Symfony 4.4, these two methods are defined in the ControllerTrait
: https://github.com/symfony/symfony/blob/4.4/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php
In Symfony 5.4, these two methods are defined in the AbstractController
: https://github.com/symfony/symfony/blob/5.4/src/Symfony/Bundle/FrameworkBundle/Controller/AbstractController.php
I am not sure if this is the reason. Could you please help check this?
FYI, my Phpstorm version is:
PhpStorm 2023.3.8
Build #PS-233.15619.9, built on September 4, 2024
Runtime version: 17.0.12+1-b1087.25 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 15.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 8
Kind regards,
Weichao