Skip to content

Adding a type to an attribute breaks PDV #37

@kenguest

Description

@kenguest

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions