vscode-intelephense icon indicating copy to clipboard operation
vscode-intelephense copied to clipboard

Undefined variable not highlightted outside functions

Open dynagence opened this issue 11 months ago • 3 comments

Hi, Why $test666 is not highlighted ? How can I highlight undefined variables outside functions ?

Screenshots image

Platform and version Windows / Intelephense 1.10.2 image

dynagence avatar Mar 13 '24 14:03 dynagence

Were you able to fix the bug?

dynagence avatar Apr 15 '24 07:04 dynagence

I don't even get undefined variables inside function highlighted. It just says "@var unset $remote_path" when i hover such a variable. Same with unused variables, so for now i'm using pspcs variable analysis just for unused and undefined variables in my codebase.

Using vs-code 1.92.2, vscode-intelephense 1.12.5, and i have tried reinstalling and purging settings to verify that isn't the issue.

secretfork avatar Sep 03 '24 13:09 secretfork