yaegassy / coc-laravel

Laravel extension for coc.nvim
https://www.npmjs.com/package/@yaegassy/coc-laravel
MIT License
26 stars 2 forks source link

Laravel Helper #15

Open Cris-lml007 opened 3 months ago

Cris-lml007 commented 3 months ago

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.

technestme commented 3 months ago

Can you give me more details?

Cris-lml007 commented 3 months ago

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