coc-laravel icon indicating copy to clipboard operation
coc-laravel copied to clipboard

Laravel Helper

Open Cris-lml007 opened this issue 1 year ago • 2 comments

I was working on my project with laravel 11 and I saw that inteliphense gave me a phantom error, the project works correctly but the LSP gives me this error due to the extra syntax that laravel provides as this post explains.
Would there be a way to prevent me from skipping these errors?.
Am I using coc-phpls, coc-blade and coc-laravel.

Cris-lml007 avatar Mar 25 '24 02:03 Cris-lml007

Can you give me more details?

technestme avatar Mar 30 '24 14:03 technestme

this is the error that gives:[inteliprese P1013] Error Undefined method 'providerIsLoaded'
according to the post you review, mention this:

The error is coming from the Intelephense plugin, not from the actual PHP code. You can try to install the Laravel IDE Helper package and generate stubs for the framework's facades. https://github.com/barryvdh/laravel-ide-helper

Cris-lml007 avatar Mar 31 '24 17:03 Cris-lml007