Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure path with immutable classes #3

Open
svnldwg opened this issue Oct 27, 2020 · 0 comments
Open

Configure path with immutable classes #3

svnldwg opened this issue Oct 27, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@svnldwg
Copy link
Owner

svnldwg commented Oct 27, 2020

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.

@svnldwg svnldwg added the enhancement New feature or request label Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant