Adding a type to an attribute breaks PDV
kenguest opened this issue · comments
Ken Guest commented
If I add a typed attribute to a class
class Foo {
protected string $name = '';
}
and use pdv to add a comment to this attribute, I get an error/exception displayed at the bottom of the vim screen:
"Error detected while processing function pdv#DocumentWithSnip[3]..97_DetermineParseConfig:
E605: Exception not caught: Could not detect parse config for ' protected string $name = '';'
I think this happens for other types as well.