Skip to content

Configure path with immutable classes #3

@svnldwg

Description

@svnldwg

Sometimes a directory only contains classes which are immutable, like value objects. In addition to annotating each of them as immutable, it should also be possible to set the path in the phpstan configuration file and the immutability rule should check all files in that path.

Multiple paths can be configured.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions