Sublime Forum

Intelephense error notification

#1

I get a notification
Undefined function ‘urls’ intelephense(P1010)
urls is correct, it’s a path specification of the used CMS.


It’s not very annoying, but if there’s a way to add functionality to intelephense, would it be nice to no longer see this note?

0 Likes

#2

This is from a VSCode github issue, but likely related:

1 Like

#3

I also found this, but unfortunately I can’t do the procedure described in the report. I can’t find where to do the setting, not in the LSP settings or in a config in the recources folder.
‘intelephense.environment.phpVersion’ I searched for those three words, intelephense, environment, php, … unfortunately without result. Maybe I need a Language Server Protocol (LSP) Premium license to get access to the settings.

0 Likes