Description
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.