Skip to content

Conflicting with Intelephense #1693

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

Open
martinbean opened this issue Apr 3, 2025 · 0 comments · May be fixed by #1695
Open

Conflicting with Intelephense #1693

martinbean opened this issue Apr 3, 2025 · 0 comments · May be fixed by #1695
Labels

Comments

@martinbean
Copy link

Versions:

  • ide-helper Version: 2.15.1
  • Laravel Version: 10.48.29
  • PHP Version: 8.3.17

Description:

I’m getting conflicts with this package, and the PHP Intelephense extension in Visual Studio Code.

IDE Helper seems to be generating a stub for the Illuminate\Http\Request class, that contains only a single method declaration (for the user method), so then Intelephense reports any other method on the Request class (input, route, etc) as undefined.

I’m not even sure why/when the IDE Helper package generated this stub file, as I only use IDE Helper to generate auto-completions for models using the php artisan ide-helper:models -N command.

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

Successfully merging a pull request may close this issue.

1 participant