Skip to content

Conflicting with Intelephense #1693

@martinbean

Description

@martinbean

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions