Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unused and undefined variables #3095

Open
dalvarezavance opened this issue Oct 20, 2024 · 0 comments
Open

Unused and undefined variables #3095

dalvarezavance opened this issue Oct 20, 2024 · 0 comments

Comments

@dalvarezavance
Copy link

dalvarezavance commented Oct 20, 2024

Describe the bug
I have a problem to detect unused and undefined variables in php. vscode not detect this variables, but I open this file in Eclipse IDE and work very fine:

Screenshots
VSCODE
Captura de pantalla 2024-10-20 090009
Eclipse IDE
Captura de pantalla 2024-10-20 090119

If I put all the code inside a main function it works and detects correctly
Captura de pantalla 2024-10-20 091705

Platform and version
Vscode: 1.94.2
Intelephense: 1.12.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant