I can not comment as my rep is not high enough 😒 But I had a similar issue with Intelephense and resolved it HERE.
Hopefully it helps