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"?
Feature Request
Summary
Currently, there is the
component-whitelist
feature. I'd like to have anexclude 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 alaminas-db
validator but does not requirelaminas-db
directly. When psalm parses that file, psalm crashes. So I have to requirelaminas-db
even tho I do not work with that component. Furthermore, I only addlaminas-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"?