Hello,
Is there a way to turn on undefined property errors in Intelephense for Nova? For example, if I have the following PHP code, I would expect two errors. One for an undefined property $foo and one for undefined variable $bar. However, I only receive the undefined variable issue in Nova. It looks like I would need to set intelephense.diagnostics.undefinedProperties = true, but I don’t know how to do that with this extension.
<?php
class Test
{
public function property()
{
return $this->foo;
}
public function variable()
{
return $bar;
}
}
Thanks,
Graceson
Hi! Thank you for bringing this to my attention, and sorry for the late
reply!
> It looks like I would need to set intelephense.diagnostics.undefinedProperties = true, but I don’t know how to do that with this extension.
This wasn't an option before. Intelephense has a lot of configurable
options and I didn't add them all because it takes a lot of time. I've
already implemented this and it will become available in the upcoming
1.3.0 version of the plugin that should be published later today.
Let me know if you're still running into this problem next week!
--
Best regards,
Kristófer R.