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

Component exclude list #33

Closed
boesing opened this issue May 10, 2021 · 0 comments · Fixed by #54
Closed

Component exclude list #33

boesing opened this issue May 10, 2021 · 0 comments · Fixed by #54

Comments

@boesing
Copy link
Member

boesing commented May 10, 2021

Feature Request

Q A
New Feature yes
BC Break no

Summary

Currently, there is the component-whitelist feature. I'd like to have an exclude list as well so I can exclude packages I do have to require so that e.g. psalm is not crashing.

Thats actually the case when depending on laminas-validator which has a laminas-db validator but does not require laminas-db directly.
When psalm parses that file, psalm crashes. So I have to require laminas-db even tho I do not work with that component.
Furthermore, I only add laminas-db as dev-dependency.

So maybe this feature request could also be converted to something like "do not prompt for components which are required as dev-dependency"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant